PluginProbe ʕ •ᴥ•ʔ
WP-Sweep / trunk
WP-Sweep vtrunk
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
inc 3 years ago js 9 years ago CLAUDE.md 1 month ago admin.php 7 years ago composer.json 6 years ago composer.lock 6 years ago index.php 7 years ago readme.txt 1 month ago uninstall.php 7 years ago wp-sweep.php 1 month ago
wp-sweep.php
58 lines
1 <?php
2
3 /**
4 * WP-Sweep
5 *
6 * @package wp-sweep
7 *
8 * @wordpress-plugin
9 * Plugin Name: WP-Sweep
10 * Plugin URI: https://lesterchan.net/portfolio/programming/php/
11 * 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.
12 * Version: 1.1.9
13 * Author: Lester 'GaMerZ' Chan
14 * Author URI: https://lesterchan.net
15 * Text Domain: wp-sweep
16 * License: GPL2
17 *
18 * Copyright 2026 Lester Chan (email : lesterchan@gmail.com)
19 *
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License, version 2, as
22 * published by the Free Software Foundation.
23 *
24 * This program is distributed in the hope that it will be useful,
25 * but WITHOUT ANY WARRANTY; without even the implied warranty of
26 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27 * GNU General Public License for more details.
28 *
29 * You should have received a copy of the GNU General Public License
30 * along with this program; if not, write to the Free Software
31 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
32 */
33
34 /**
35 * WP-Sweep version
36 *
37 * @since 1.0.0
38 */
39 define( 'WP_SWEEP_VERSION', '1.1.9' );
40
41 /**
42 * WP-Sweep main file
43 */
44 define( 'WP_SWEEP_MAIN_FILE', __FILE__ );
45
46 require __DIR__ . '/inc/class-wpsweep.php';
47 require __DIR__ . '/inc/class-wpsweep-api.php';
48
49 /**
50 * WP Rest API
51 */
52 new WPSweep_Api();
53
54 /**
55 * Init WP-Sweep
56 */
57 WPSweep::get_instance();
58