Contributors: GamerZ
Donate link: http://lesterchan.net/site/donation/
Tags: sweep, clean, cleanup, clean up, optimize, orphan, unused, duplicated, posts, post meta, comments, comment meta, users, user meta, terms, term relationships, revisions, auto drafts, transient, database, tables, oembed
Requires at least: 4.1
Tested up to: 4.4
Stable tag: 1.0.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
This plugin cleans up:
- Revisions
- Auto drafts
- Deleted comments
- Unapproved comments
- Spammed comments
- Deleted comments
- Orphaned post meta
- Orphaned comment meta
- Orphaned user meta
- Orphan term relationships
- Unused terms
- Duplicated post meta
- Duplicated comment meta
- Duplicated user meta
- Transient options
- Optimizes database tables
- oEmbed caches in post meta
This plugin uses proper WordPress delete functions as much as possible instead of running direct delete MySQL queries.
Following delete functions are used:
- wp_delete_post_revision()
- wp_delete_post()
- wp_delete_comment()
- delete_post_meta()
- delete_comment_meta()
- delete_user_meta()
- wp_remove_object_terms()
- wp_delete_term()
- delete_transient()
- delete_site_transient()
I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks, I will really appreciate it. If not feel free to use it without any obligations.
- Delete 'languages' folder from the plugin
- Use translate.wordpress.org to translate the plugin
- FIXED: apply_filters() wrong arguments
- NEW: oEmbed caches in post meta Sweep
- NEW: AJAX Sweep All
- NEW: AJAX Sweeping
- NEW: View details of sweep
- NEW: Optimize DB sweep
- NEW: User hint and confirmation. Props @SiamKreative
- FIXED: Division by zero. Pros @barisunver
- FIXED: Use term_id for wp_remove_object_terms()
- FIXED: number_format_i18n() issues after sweeping
- NEW: Moved plugin location to WP-Admin -> Tools -> Sweep
- NEW: Add Deleted Post Sweep
- FIXED: Use forced_delete for wp_delete_post() and wp_delete_comment();
- FIXED: If orphaned meta has an object id of 0, use SQL query to delete
- Initial release
- Upload
wp-sweep
folder to the/wp-content/plugins/
directory - Activate the
WP-Sweep
plugin through the 'Plugins' menu in WordPress - You can access
WP-Sweep
viaWP-Admin -> Tools -> Sweep
- WP-Sweep Administrator Page (Before Sweeping)
- WP-Sweep Administrator Page (Swept)
Coming soon ...
N/A