{"id":211528,"date":"2025-01-05T15:17:27","date_gmt":"2025-01-05T15:17:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/revision-buster\/"},"modified":"2025-05-20T08:31:11","modified_gmt":"2025-05-20T08:31:11","slug":"revision-buster","status":"publish","type":"plugin","link":"https:\/\/pan.wordpress.org\/plugins\/revision-buster\/","author":18796959,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.1","tested":"6.9.4","requires":"4.7","requires_php":"7.4","requires_plugins":null,"header_name":"Revision Buster","header_author":"Hilay Trivedi","header_description":"A powerful plugin to clean up WordPress post and page revisions, with scheduling and custom cleanup options.","assets_banners_color":"c2c9cd","last_updated":"2025-05-20 08:31:11","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/HILAYTRIVEDI\/revision-buster","header_author_uri":"https:\/\/github.com\/HILAYTRIVEDI\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1432,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","description"],"tags":{"1.0.1":{"tag":"1.0.1","author":"hilayt24","date":"2025-05-20 08:31:11"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":{"banner-772\u00d7250.jpg":{"filename":"banner-772\u00d7250.jpg","revision":3229710,"resolution":"772x250","location":"assets","locale":"","width":1514,"height":864}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[236439,83042],"plugin_business_model":[],"class_list":["post-211528","plugin","type-plugin","status-publish","hentry","plugin_contributors-hilayt24","plugin_contributors-sabbir1991","plugin_committers-hilayt24"],"banners":{"banner":"https:\/\/ps.w.org\/revision-buster\/assets\/banner-772\u00d7250.jpg?rev=3229710","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/revision-buster_c2c9cd.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li>Download the plugin and upload the folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin via the <strong>Plugins<\/strong> menu in WordPress.<\/li>\n<li>Navigate to <strong>Tools &gt; Revision Buster<\/strong> in the WordPress admin menu.<\/li>\n<\/ol>\n\n<!--section=description-->\n<h3>Features<\/h3>\n\n<ul>\n<li><strong>Selective Revision Cleanup<\/strong>: Delete revisions for specific posts or pages as needed.<\/li>\n<li><strong>Global Cleanup<\/strong>: Clean up revisions for all posts and pages with a single click.<\/li>\n<li><strong>Revisions Retention<\/strong>: Customize how many revisions to retain per post or page.<\/li>\n<li><strong>Scheduled Cleanup<\/strong>: Automate cleanup tasks at intervals (hourly, daily, weekly, monthly, or yearly).<\/li>\n<li><strong>Cache Management<\/strong>: Uses transients for efficient caching of posts and pages.<\/li>\n<li><strong>Custom Cron Intervals<\/strong>: Adds monthly and yearly cleanup schedules.<\/li>\n<li><strong>Custom Post Type Support<\/strong>: Handles revisions for all registered post types (future roadmap).<\/li>\n<\/ul>\n\n\n\n<h3>Usage<\/h3>\n\n<h3>Admin Settings<\/h3>\n\n<ul>\n<li><strong>Revision Cleanup Settings<\/strong>: Manage revision retention rules and schedule automated cleanups.<\/li>\n<li><strong>Single Post\/Page Cleanup<\/strong>: Select individual posts or pages and delete their revisions.<\/li>\n<li><strong>Global Cleanup<\/strong>: Remove revisions for all posts and pages to free up database space.<\/li>\n<\/ul>\n\n<h3>Automated Cleanup<\/h3>\n\n<ul>\n<li>Configure intervals for automated cleanup tasks (hourly, daily, weekly, monthly, yearly).<\/li>\n<li>Ensure your database stays optimized without manual intervention.<\/li>\n<\/ul>\n\n\n\n<h3>Hooks and Filters<\/h3>\n\n<h3>Actions<\/h3>\n\n<ul>\n<li><code>revision_buster_run_revision_cleanup_cron<\/code>: Executes the scheduled revision cleanup.<\/li>\n<li><code>save_post<\/code> &amp; <code>delete_post<\/code>: Automatically invalidates cached posts when updates or deletions occur.<\/li>\n<\/ul>\n\n<h3>Filters<\/h3>\n\n<ul>\n<li><code>cron_schedules<\/code>: Adds custom intervals (monthly, yearly) to WordPress cron schedules.<\/li>\n<\/ul>\n\n\n\n<h3>Technical Details<\/h3>\n\n<h3>Cache Management<\/h3>\n\n<ul>\n<li>Implements WordPress transients to improve performance when processing large datasets.<\/li>\n<li>Efficiently manages cached data to minimize load times during cleanup tasks.<\/li>\n<\/ul>\n\n<h3>Cleanup Logic<\/h3>\n\n<ul>\n<li>Deletes older revisions while retaining the configured number of most recent revisions.<\/li>\n<li>Utilizes batch processing for scalability on larger databases.<\/li>\n<\/ul>\n\n\n\n<h3>Requirements<\/h3>\n\n<ul>\n<li>WordPress 5.0 or higher<\/li>\n<li>PHP 7.4 or higher<\/li>\n<\/ul>\n\n\n\n<h3>Roadmap<\/h3>\n\n<ul>\n<li>Add support for custom post types.<\/li>\n<li>Enhanced UI with analytics and visual cleanup reports.<\/li>\n<li>Third-party plugin integration for backup compatibility.<\/li>\n<li>Multisite support for network-wide revision cleanup.<\/li>\n<\/ul>\n\n\n\n<h3>Contribution<\/h3>\n\n<p>We welcome your contributions! Feel free to submit issues or pull requests via the <a href=\"https:\/\/github.com\/HILAYTRIVEDI\/revision-buster\">GitHub repository<\/a>.<\/p>\n\n\n\n<h3>License<\/h3>\n\n<p>This plugin is open-source and licensed under the GPLv2 or later. Learn more at <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">GPL License<\/a>.<\/p>\n\n\n\n<h3>Acknowledgments<\/h3>\n\n<p>Developed by <a href=\"https:\/\/github.com\/HILAYTRIVEDI\">Hilay Trivedi<\/a>.<\/p>\n\n<p>Special thanks to the WordPress community for their continuous support and feedback.<\/p>","raw_excerpt":"Features","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/211528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=211528"}],"author":[{"embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hilayt24"}],"wp:attachment":[{"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=211528"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=211528"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=211528"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=211528"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=211528"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pan.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=211528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}