WP-Sweep

Wordpress Plugin
Download latest - 1.1.5

Developers

GamerZ

Download Stats

Today 173
Yesterday 286
Last Week 1,736
All Time 316,097
Banner 772x250

This plugin cleans up:

  • Revisions
  • Auto drafts
  • Deleted comments
  • Unapproved comments
  • Spammed comments
  • Deleted comments
  • Orphaned post meta
  • Orphaned comment meta
  • Orphaned user meta
  • Orphaned term meta
  • Orphan term relationships
  • Unused terms
  • Duplicated post meta
  • Duplicated comment meta
  • Duplicated user meta
  • Duplicated term 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()
  • delete_term_meta()
  • wp_remove_object_terms()
  • wp_delete_term()
  • delete_transient()
  • delete_site_transient()

Development

  • https://github.com/lesterchan/wp-sweep

Credits

  • Plugin icon by Freepik from Flaticon

Donations

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.


Releases (14 )

Version Release Date Change Log
1.1.5 2022-02-05
1.1.15 2021-07-21
1.1.3 2020-05-20
1.1.2 2020-05-20
1.1.1 2019-10-23
1.1.0 2018-12-19
1.0.12 2017-11-23
1.0.11 2017-11-23
1.0.9 2017-02-28
  • NEW: Support for Codeclimate
  • FIXES: Uses get_sites() on WordPress 4.6. This should fix deprecated notices.
  • FIXES: Fixes translation placeholder count. Props @pedro-mendonca.
  • FIXES: Use manage_options capability as it conflicts with Admin Menu Editor on multisite installs. Props @EusebiuOprinoiu.
1.0.10 2017-02-28
  • FIXED: Invalid plugin head 'This plugin has an invalid header.'
1.0.7 2016-08-31
  • FIXES: Use custom query to delete Orphaned Term Relationship if wp_remove_object_terms() fails
1.0.8 2016-08-29
  • NEW: Added wp_sweep_excluded_taxonomies filter to allow more than just link_category taxonomy
  • NEW: Support for WP-CLI wp sweep
1.0.6 2015-12-10
  • NEW: Delete 'languages' folder from the plugin
  • NEW: Use translate.wordpress.org to translate the plugin
  • FIXED: Works only with WordPress 4.4 because of new term meta
1.0.5 2015-11-26
  • FIXED: apply_filters() wrong arguments