WP-Sweep - Version 1.0.11

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-Sweep
Version 1.0.11
Comparing to
See all releases

Code changes from version 1.0.9 to 1.0.11

Files changed (2) hide show
  1. readme.txt +36 -26
  2. wp-sweep.php +5 -5
readme.txt CHANGED
@@ -1,19 +1,16 @@
1
- === WP-Sweep ===
2
-
3
- [![Build Status](https://travis-ci.org/lesterchan/wp-sweep.svg?branch=master)](https://travis-ci.org/lesterchan/wp-sweep) [![Code Climate](https://codeclimate.com/github/lesterchan/wp-sweep/badges/gpa.svg)](https://codeclimate.com/github/lesterchan/wp-sweep) [![Issue Count](https://codeclimate.com/github/lesterchan/wp-sweep/badges/issue_count.svg)](https://codeclimate.com/github/lesterchan/wp-sweep)
4
-
5
  Contributors: GamerZ
6
- Donate link: http://lesterchan.net/site/donation/
7
  Tags: sweep, clean, cleanup, clean up, optimize, orphan, unused, duplicated, posts, post meta, comments, comment meta, users, user meta, terms, term meta, term relationships, revisions, auto drafts, transient, database, tables, oembed
8
  Requires at least: 4.4
9
- Tested up to: 4.7
10
- Stable tag: 1.0.9
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
 
14
  WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
15
 
16
- == Description ==
17
  This plugin cleans up:
18
 
19
  * Revisions
@@ -52,42 +49,55 @@ Following delete functions are used:
52
  * delete_transient()
53
  * delete_site_transient()
54
 
55
- = Development =
 
 
 
 
 
 
56
  * [https://github.com/lesterchan/wp-sweep](https://github.com/lesterchan/wp-sweep "https://github.com/lesterchan/wp-sweep")
57
 
58
- = Credits =
59
  * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)
60
 
61
- = Donations =
62
  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.
63
 
64
- == Changelog ==
65
- = 1.0.9 =
 
 
 
 
 
 
 
66
  * NEW: Support for Codeclimate
67
  * FIXES: Uses `get_sites()` on WordPress 4.6. This should fix deprecated notices.
68
  * FIXES: Fixes translation placeholder count. Props @pedro-mendonca.
69
  * FIXES: Use `manage_options` capability as it conflicts with Admin Menu Editor on multisite installs. Props @EusebiuOprinoiu.
70
 
71
- = 1.0.8 =
72
  * NEW: Added wp_sweep_excluded_taxonomies filter to allow more than just link_category taxonomy
73
  * NEW: Support for WP-CLI `wp sweep`
74
 
75
- = 1.0.7 =
76
  * FIXES: Use custom query to delete Orphaned Term Relationship if wp_remove_object_terms() fails
77
 
78
- = 1.0.6 =
79
  * NEW: Delete 'languages' folder from the plugin
80
  * NEW: Use translate.wordpress.org to translate the plugin
81
  * FIXED: Works only with WordPress 4.4 because of new term meta
82
 
83
- = 1.0.5 =
84
  * FIXED: apply_filters() wrong arguments
85
 
86
- = 1.0.4 =
87
  * NEW: oEmbed caches in post meta Sweep
88
  * NEW: Add POT file for translators
89
 
90
- = 1.0.3 =
91
  * NEW: AJAX Sweep All
92
  * NEW: AJAX Sweeping
93
  * NEW: View details of sweep
@@ -95,30 +105,30 @@ I spent most of my free time creating, updating, maintaining and supporting thes
95
  * NEW: User hint and confirmation. Props @SiamKreative
96
  * FIXED: Division by zero. Pros @barisunver
97
 
98
- = 1.0.2 =
99
  * FIXED: Use term_id for wp_remove_object_terms()
100
  * FIXED: number_format_i18n() issues after sweeping
101
 
102
- = 1.0.1 =
103
  * NEW: Moved plugin location to WP-Admin -> Tools -> Sweep
104
  * NEW: Add Deleted Post Sweep
105
  * FIXED: Use forced_delete for wp_delete_post() and wp_delete_comment();
106
  * FIXED: If orphaned meta has an object id of 0, use SQL query to delete
107
 
108
- = 1.0.0 =
109
  * Initial release
110
 
111
- == Installation ==
112
  1. Upload `wp-sweep` folder to the `/wp-content/plugins/` directory
113
  2. Activate the `WP-Sweep` plugin through the 'Plugins' menu in WordPress
114
  3. You can access `WP-Sweep` via `WP-Admin -> Tools -> Sweep`
115
 
116
- == Screenshots ==
117
  1. WP-Sweep Administrator Page (Before Sweeping)
118
  2. WP-Sweep Administrator Page (Swept)
119
 
120
- == Frequently Asked Questions ==
121
  Coming soon ...
122
 
123
- == Upgrade Notice ==
124
  N/A
1
+ # WP-Sweep
 
 
 
2
  Contributors: GamerZ
3
+ Donate link: https://lesterchan.net/site/donation/
4
  Tags: sweep, clean, cleanup, clean up, optimize, orphan, unused, duplicated, posts, post meta, comments, comment meta, users, user meta, terms, term meta, term relationships, revisions, auto drafts, transient, database, tables, oembed
5
  Requires at least: 4.4
6
+ Tested up to: 4.9
7
+ Stable tag: 1.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
  WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
12
 
13
+ ## Description
14
  This plugin cleans up:
15
 
16
  * Revisions
49
  * delete_transient()
50
  * delete_site_transient()
51
 
52
+ WP-Sweep is not compatible with the following plugins:
53
+ * [Meta Slider](https://wordpress.org/support/plugin/ml-slider/)
54
+
55
+ ### Build Status
56
+ [![Build Status](https://travis-ci.org/lesterchan/wp-sweep.svg?branch=master)](https://travis-ci.org/lesterchan/wp-sweep) [![Code Climate](https://codeclimate.com/github/lesterchan/wp-sweep/badges/gpa.svg)](https://codeclimate.com/github/lesterchan/wp-sweep) [![Issue Count](https://codeclimate.com/github/lesterchan/wp-sweep/badges/issue_count.svg)](https://codeclimate.com/github/lesterchan/wp-sweep)
57
+
58
+ ### Development
59
  * [https://github.com/lesterchan/wp-sweep](https://github.com/lesterchan/wp-sweep "https://github.com/lesterchan/wp-sweep")
60
 
61
+ ### Credits
62
  * Plugin icon by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com)
63
 
64
+ ### Donations
65
  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.
66
 
67
+ ## Changelog
68
+ ### 1.0.11
69
+ * NEw: Bump to WordPress 4.9
70
+ * NEW: Update README to incompatible plugins
71
+
72
+ ### 1.0.10
73
+ * FIXED: Invalid plugin head 'This plugin has an invalid header.'
74
+
75
+ ### 1.0.9
76
  * NEW: Support for Codeclimate
77
  * FIXES: Uses `get_sites()` on WordPress 4.6. This should fix deprecated notices.
78
  * FIXES: Fixes translation placeholder count. Props @pedro-mendonca.
79
  * FIXES: Use `manage_options` capability as it conflicts with Admin Menu Editor on multisite installs. Props @EusebiuOprinoiu.
80
 
81
+ ### 1.0.8
82
  * NEW: Added wp_sweep_excluded_taxonomies filter to allow more than just link_category taxonomy
83
  * NEW: Support for WP-CLI `wp sweep`
84
 
85
+ ### 1.0.7
86
  * FIXES: Use custom query to delete Orphaned Term Relationship if wp_remove_object_terms() fails
87
 
88
+ ### 1.0.6
89
  * NEW: Delete 'languages' folder from the plugin
90
  * NEW: Use translate.wordpress.org to translate the plugin
91
  * FIXED: Works only with WordPress 4.4 because of new term meta
92
 
93
+ ### 1.0.5
94
  * FIXED: apply_filters() wrong arguments
95
 
96
+ ### 1.0.4
97
  * NEW: oEmbed caches in post meta Sweep
98
  * NEW: Add POT file for translators
99
 
100
+ ### 1.0.3
101
  * NEW: AJAX Sweep All
102
  * NEW: AJAX Sweeping
103
  * NEW: View details of sweep
105
  * NEW: User hint and confirmation. Props @SiamKreative
106
  * FIXED: Division by zero. Pros @barisunver
107
 
108
+ ### 1.0.2
109
  * FIXED: Use term_id for wp_remove_object_terms()
110
  * FIXED: number_format_i18n() issues after sweeping
111
 
112
+ ### 1.0.1
113
  * NEW: Moved plugin location to WP-Admin -> Tools -> Sweep
114
  * NEW: Add Deleted Post Sweep
115
  * FIXED: Use forced_delete for wp_delete_post() and wp_delete_comment();
116
  * FIXED: If orphaned meta has an object id of 0, use SQL query to delete
117
 
118
+ ### 1.0.0
119
  * Initial release
120
 
121
+ ## Installation
122
  1. Upload `wp-sweep` folder to the `/wp-content/plugins/` directory
123
  2. Activate the `WP-Sweep` plugin through the 'Plugins' menu in WordPress
124
  3. You can access `WP-Sweep` via `WP-Admin -> Tools -> Sweep`
125
 
126
+ ## Screenshots
127
  1. WP-Sweep Administrator Page (Before Sweeping)
128
  2. WP-Sweep Administrator Page (Swept)
129
 
130
+ ## Frequently Asked Questions
131
  Coming soon ...
132
 
133
+ ## Upgrade Notice
134
  N/A
wp-sweep.php CHANGED
@@ -1,17 +1,17 @@
1
  <?php
2
  /*
3
  Plugin Name: WP-Sweep
4
- Plugin URI: http://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: 1.0.9
7
  Author: Lester 'GaMerZ' Chan
8
- Author URI: http://lesterchan.net
9
  Text Domain: wp-sweep
10
  License: GPL2
11
  */
12
 
13
  /*
14
- Copyright 2016 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License, version 2, as
@@ -32,7 +32,7 @@ License: GPL2
32
  *
33
  * @since 1.0.0
34
  */
35
- define( 'WP_SWEEP_VERSION', '1.0.9' );
36
 
37
  /**
38
  * WP-Sweep class
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: 1.0.10
7
  Author: Lester 'GaMerZ' Chan
8
+ Author URI: https://lesterchan.net
9
  Text Domain: wp-sweep
10
  License: GPL2
11
  */
12
 
13
  /*
14
+ Copyright 2017 Lester Chan (email : lesterchan@gmail.com)
15
 
16
  This program is free software; you can redistribute it and/or modify
17
  it under the terms of the GNU General Public License, version 2, as
32
  *
33
  * @since 1.0.0
34
  */
35
+ define( 'WP_SWEEP_VERSION', '1.0.10' );
36
 
37
  /**
38
  * WP-Sweep class