=== Tokusho Generator ===
Contributors: 369work
Tags: tokusho, legal, compliance, ecommerce, shortcode
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.4.0
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Copyright: Copyright (c) 2025 miroku (369work)

A WordPress plugin to create and manage a "Specified Commercial Transactions Act" page from the admin screen.

== Description ==

Tokusho Generator helps site owners create a legal disclosure page required under Japan's Specified Commercial Transactions Act.
Saved data can be displayed on any page using the `[tokusho]` shortcode.

Key features:

* Save required fields from an admin form
* Validate input values before publishing
* Render output with the `[tokusho]` shortcode
* Download generated HTML

== Installation ==

1. Upload the `tokusho-generator` folder to `/wp-content/plugins/`.
2. Activate **Tokusho Generator** from the WordPress Plugins screen.
3. Open the plugin admin menu and save your business/legal details.
4. Add `[tokusho]` to a page and publish it.

== Frequently Asked Questions ==

= Where is the output displayed? =

It is displayed on any page/post where you place the `[tokusho]` shortcode.

= Where is the data stored? =

Data is stored in the WordPress options table (option key: `tokusho_generator_data`).

== Changelog ==

= 1.4.0 =
* Compatible with WordPress 7.0

= 1.3.0 =
* Change Plugin URL
* Bug fixed

= 1.2.0 =
* Change Composer vendor name to 369work/tokusho-generator
* Prepare core library for Packagist distribution

= 1.1.0 =
* Sanitize $_GET parameters with sanitize_text_field() and wp_unslash()
* Use wp_safe_redirect() instead of wp_redirect() for internal redirects
* Add detailed phpcs:ignore comments for trusted library output

= 1.0.1 =
* .gitignore delete

= 1.0.0 =
* Initial release

