| 开发者 | digtiz |
|---|---|
| 更新时间 | 2026年7月22日 17:57 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPL-2.0-or-later |
| 版权网址: | 版权信息 |
datesweep_post_dates_updated, datesweep_collected_post_ids, datesweep_new_timestamp, datesweep_form_rows and more).datesweep folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload.No. Items are processed in batches of 100 over AJAX; the browser drives the queue and shows progress. Only the ID collection happens up front.
Yes. Every run records the previous dates before writing, and the Recent runs list on the plugin page lets you undo your most recent run with one click. DateSweep Pro extends this to an undo history of your last 10 runs. A database backup before large operations is still good practice.
No. The range is always capped at the current time.
No. Only the date columns of posts/pages (post_date, post_modified and their GMT counterparts) or comment dates are touched. Titles, content, excerpts, custom fields and settings are never modified.
Yes. Builders store their layouts in content and meta fields, which DateSweep never touches — only the core date columns change. If your theme displays a date from a custom field instead of the WordPress date, see DateSweep Pro's ACF integration.
Yes, automatically. Every public custom post type — whether registered by a theme, a plugin or ACF — gets its own tab and is included in the "All content" pass.
DateSweep changes dates, not content. Search engines reward genuinely updated content; refreshing dates without any real changes can be ignored or, at worst, erode trust in your dates. Use it where the dates are genuinely misleading (imports, rebuilds, migrations) or alongside real content maintenance — not as a substitute for it.
Your dates did change in the database — but a caching plugin or CDN may still serve old pages. Clear your page cache after a run. (Object caches are already flushed automatically.)
Under Tools → DateSweep.
That's a DateSweep Pro feature: daily, weekly or monthly schedules with a "Save & Run Now" button, age targeting so recently edited content is left alone, and IndexNow submission so search engines re-crawl the refreshed URLs quickly.
datesweep_ (from dsw_) to meet WordPress.org’s 4-character prefix guideline. Fresh installs only; no data migration. Removed bundled translation files and the manual textdomain load (WordPress.org handles translations automatically).datesweep_keep_runs filter lets add-ons extend the history — DateSweep Pro keeps the last 10 runs.datesweep_). No functional changes.datesweep_form_rows action (extra form rows), datesweep_job_data filter (attach data to a job), datesweep_batch_processed action (post-batch processing) and datesweep_restore_snapshot action (restore custom snapshot types).datesweep_preview_limit) for the Pro add-on.DSW_Processor::range_from_preset() used by scheduled (Pro) runs.datesweep_post_dates_restored.datesweep_collected_post_ids, datesweep_new_timestamp.datesweep_post_dates_updated action hook.