=== LaoUpdateDate ===

Contributors: laobuluo
Tags: post date, bulk update, publish date, bulk edit
Requires at least: 5.3
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Bulk update WordPress post publish dates by ID range, specific IDs, categories, or date ranges.

== Description ==

LaoUpdateDate helps you bulk update the publish dates of WordPress posts.

**Features:**
* Filter by post ID range (for example, 1-100)
* Filter by specific post IDs (comma-separated)
* Filter by category IDs
* Filter by publish date range
* Set a specific new publish date and time
* Update matched posts to the current date and time
* Preview matching posts before running an update
* Dry-run mode and batched processing to reduce timeout risk
* Capability checks, nonce verification, and sanitized input

**Typical use cases:**
* Normalize post dates after a site migration
* Fix incorrect publish dates in bulk
* Refresh post timestamps during content maintenance

== Installation ==

1. Upload the `laoupdatedate` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins screen in WordPress
3. Go to Settings -> LaoUpdateDate to configure and run updates

== Frequently Asked Questions ==

= Can an update be undone? =

No. Always use Preview to confirm the matched posts first, and back up your database before running a live update.

= Does it support custom post types? =

By default it targets the `post` type. Developers can change this with the `lao_ud_post_type` filter.

== Changelog ==

= 1.0.4 =
* Align text domain with plugin slug (`laoupdatedate`)
* Raise minimum WordPress version to 5.3 for `wp_timezone()`
* Rewrite readme.txt in English and set Tested up to: 7.1
* Remove discouraged `load_plugin_textdomain()` call for WordPress.org hosting
* Replace `tax_query` with `category__in` for category filters
* Prefix admin view variables (`lao_ud_`) and remove unexpected root markdown files

= 1.0.3 =
* Normalize request sanitization with `wp_unslash`
* Use SQL BETWEEN for ID ranges and paginated queries
* Add frontend batched AJAX execution
* Cap returned error messages and persist form preferences

= 1.0.2 =
* Add dry-run mode
* Add batched updates and operation logs
* Improve admin output escaping and query options

= 1.0.1 =
* Require at least one filter before matching posts
* Limit ID range size and add `lao_ud_after_update_dates` action

= 1.0.0 =
* Initial release
