SweepPress

Descripción

SweepPress is an easy-to-use plugin for WordPress, built around 28 different Sweepers for database cleanup, support for WP-CLI, and WP REST API to perform the cleanup operations.

Modes of sweeping

  • Auto Sweep: available on the dashboard, running many (not all) sweepers without user input.
  • Quick Sweep: available on the dashboard, allowing selection of the sweepers to run.
  • Full Sweep: available on own panel, with detailed information about sweepers and no limit run.

All sweepers use optimized SQL queries to find the data for removal, and the removal is also done using SQL queries. This is the fastest and most efficient way for data removal, allowing for the quick removal of a large amount of data.

Quick Video Overview

List of Sweepers

  • Posts: Auto Drafts
  • Posts: Spam Content
  • Posts: Trashed Content
  • Posts: Posts Revisions
  • Posts: Posts Orphaned Revisions
  • Posts: Postmeta Locks
  • Posts: Postmeta Last Edits
  • Posts: Postmeta Oembeds
  • Posts: Postmeta Orphans
  • Comments: Spam Comments
  • Comments: Trashed Comments
  • Comments: Unapproved Comments
  • Comments: Orphaned Comments
  • Comments: Comments User Agents
  • Comments: Commentmeta Orphans
  • Comments: Pingbacks Cleanup
  • Comments: Trackbacks Cleanup
  • Comments: Akismet Meta Records (v1.1)
  • Terms: Terms Orphans
  • Terms: Termmeta Orphans
  • Users: Usermeta Orphans
  • Options: Expired Transients
  • Options: RSS Feeds
  • Options: All Transients
  • Options: CRON Jobs
  • Sitemeta: Expired Transients
  • Sitemeta: All Transients
  • Database: Optimize Database Tables

WP CLI and WP REST API Support

The plugin registers new CLI commands for running sweep operations from the command line (WP CLI is required). And, the plugin also registers the REST API endpoint for the same purpose to run remote sweep operations (only for administrator role!). CLI and REST API support can be enabled through plugin settings.

SweepPress Pro

SweepPress Lite edition available on WordPress.org is a fully functional plugin, and there are no limits to its operations. But, SweepPress Pro contains some additional features not available in the Lite version:

  • Create and manage Sweeper Jobs: create custom background sweeper jobs to run at a specific date, or as a recurring job.
  • Control and track WordPress CRON jobs: list all the WordPress CRON jobs, track and display the source, and more.
  • Sweeper Monitor: monitor website for cleanup daily or weekly, and send notifications when sweeping limit is reached.

More exclusive Pro features will be coming with the future updates. Upgrade to SweepPress Pro.

Special Notice

The plugin will show the backup reminder notice by default (and it can be disabled) on every plugin page. It is essential to understand that once the data is deleted by the plugin, it can’t be restored. So, if you change your mind later, it is important to make the backup before the data removal. SweepPress plugin is not responsible for any loss of data – make sure to have backups!

Plugin Home Page

Capturas

  • Main plugin dashboard
  • Quick Sweep Panel on dashboard
  • Part of the Sweep panel
  • Another view of the Sweep panel
  • List of sweepers via CLI command

Instalación

General Requirements

  • PHP: 7.2 or newer

PHP Notice

  • Plugin doesn’t work with PHP 7.1 or older versions.

WordPress Requirements

  • WordPress: 5.3 or newer

WordPress Notice

  • Plugin doesn’t work with WordPress 5.2 or older versions.

Basic Installation

  • Plugin folder in the WordPress plugins should be sweeppress.
  • Upload sweeppress folder to the /wp-content/plugins/ directory.
  • Activate the plugin through the ‘Plugins’ menu in WordPress.
  • Plugin adds new top level menu called ‘SweepPress’.
  • Check all the plugin settings before using the plugin.

Preguntas frecuentes

Where can I configure the plugin?

The plugin adds top level ‘SweepPress’ panel in WordPress Admin menu.

Reseñas

16 de marzo de 2022
A very useful plugin, especially on somewhat old installations that have experienced many installations/uninstallations of plugins. Fast and efficient Excellent!! I recommend. 🙂
Leer todas las 2 reseñas

Colaboradores y desarrolladores

«SweepPress» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

«SweepPress» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «SweepPress» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.5 (2022.06.07)

  • Edit: improved statistics panel collected data display
  • Edit: several minor updates to the core objects
  • Edit: information about the new Monitor feature in Pro edition
  • Fix: potential division by zero issue with the size calculations
  • Fix: problem with the uppercase database table names

1.4.1 (2022.05.28)

  • Fix: sweepers missing with WordPress 6.0
  • Fix: sweepers missing with ClassicPress 1.4

1.4 (2022.05.18)

  • Edit: improved layout for the plugin dashboard
  • Edit: d4pLib 3.8
  • Fix: responsive layout issue with auto sweep box

1.3 (2022.04.02)

  • New: panel with list of all sweepers and where they can be used
  • Edit: updated information in the Help areas for various panels
  • Edit: updated information about screenshots
  • Edit: updated several plugin screenshots
  • Edit: several updates to the readme file

1.2 (2022.03.15)

  • New: show list of affected tables more prominently inside help area
  • New: show percentage of the data to be removed compared to affected tables size
  • Edit: many improvements to the sweepers core classes
  • Edit: improved query for calculation of tables to optimize
  • Edit: calculation of tables to optimize takes index into account
  • Edit: expanded help information for some sweepers
  • Edit: expanded information for some plugin settings
  • Edit: several minor styling and layout tweaks and improvements
  • Edit: d4pLib 3.7.4
  • Removed: few unused and obsolete functions and methods
  • Fix: minor issue with database fragmentation calculation

1.1 (2022.03.08)

  • New: sweeper: akismet meta records removal
  • Fix: minor issue with the translations format

1.0 (2022.03.03)

  • First official release