PluginProbe ʕ •ᴥ•ʔ
WP-Sweep / 2.0.0
WP-Sweep v2.0.0
2.0.1 2.0.0 1.2.0 trunk 1.0.10 1.0.11 1.0.12 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9
wp-sweep / wp-sweep.php
wp-sweep Last commit date
includes 2 weeks ago js 2 weeks ago LICENSE 2 weeks ago index.php 2 weeks ago readme.txt 2 weeks ago uninstall.php 2 weeks ago wp-sweep.php 2 weeks ago
wp-sweep.php
48 lines
1 <?php
2 /**
3 * Plugin Name: WP-Sweep
4 * Plugin URI: https://lesterchan.net/portfolio/programming/php/
5 * Description: WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It cleans up revisions, auto drafts, unapproved comments, spam comments, trashed comments, orphan post meta, orphan comment meta, orphan user meta, orphan term relationships, unused terms, duplicated post meta, duplicated comment meta, duplicated user meta and transient options. It also optimizes your database tables.
6 * Version: 2.0.0
7 * Requires at least: 6.8
8 * Requires PHP: 8.2
9 * Author: Lester 'GaMerZ' Chan
10 * Author URI: https://lesterchan.net
11 * License: GPLv2 or later
12 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
13 * Text Domain: wp-sweep
14 * Domain Path: /languages
15 *
16 * @package WP-Sweep
17 */
18
19 /*
20 Copyright 2026 Lester Chan (email : lesterchan@gmail.com)
21
22 This program is free software; you can redistribute it and/or modify
23 it under the terms of the GNU General Public License as published by
24 the Free Software Foundation; either version 2 of the License, or
25 (at your option) any later version.
26
27 This program is distributed in the hope that it will be useful,
28 but WITHOUT ANY WARRANTY; without even the implied warranty of
29 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30 GNU General Public License for more details.
31
32 You should have received a copy of the GNU General Public License
33 along with this program; if not, write to the Free Software
34 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 */
36
37 defined( 'ABSPATH' ) || exit;
38
39 define( 'WP_SWEEP_VERSION', '2.0.0' );
40 define( 'WP_SWEEP_SLUG', 'wp-sweep' );
41 define( 'WP_SWEEP_MAIN_FILE', __FILE__ );
42 define( 'WP_SWEEP_DIR', plugin_dir_path( __FILE__ ) );
43 define( 'WP_SWEEP_URL', plugin_dir_url( __FILE__ ) );
44
45 require_once WP_SWEEP_DIR . 'includes/class-wp-sweep.php';
46
47 WP_Sweep::get_instance();
48