wp-sweep
Last commit date
js
11 years ago
admin.php
10 years ago
composer.json
10 years ago
index.php
11 years ago
readme.txt
10 years ago
uninstall.php
11 years ago
wp-sweep.php
10 years ago
readme.txt
115 lines
| 1 | === WP-Sweep === |
| 2 | Contributors: GamerZ |
| 3 | Donate link: http://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.5 |
| 7 | Stable tag: 1.0.7 |
| 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 |
| 17 | * Auto drafts |
| 18 | * Deleted comments |
| 19 | * Unapproved comments |
| 20 | * Spammed comments |
| 21 | * Deleted comments |
| 22 | * Orphaned post meta |
| 23 | * Orphaned comment meta |
| 24 | * Orphaned user meta |
| 25 | * Orphaned term meta |
| 26 | * Orphan term relationships |
| 27 | * Unused terms |
| 28 | * Duplicated post meta |
| 29 | * Duplicated comment meta |
| 30 | * Duplicated user meta |
| 31 | * Duplicated term meta |
| 32 | * Transient options |
| 33 | * Optimizes database tables |
| 34 | * oEmbed caches in post meta |
| 35 | |
| 36 | This plugin uses proper WordPress delete functions as much as possible instead of running direct delete MySQL queries. |
| 37 | |
| 38 | Following delete functions are used: |
| 39 | |
| 40 | * wp_delete_post_revision() |
| 41 | * wp_delete_post() |
| 42 | * wp_delete_comment() |
| 43 | * delete_post_meta() |
| 44 | * delete_comment_meta() |
| 45 | * delete_user_meta() |
| 46 | * delete_term_meta() |
| 47 | * wp_remove_object_terms() |
| 48 | * wp_delete_term() |
| 49 | * delete_transient() |
| 50 | * delete_site_transient() |
| 51 | |
| 52 | = Build Status = |
| 53 | [](https://travis-ci.org/lesterchan/wp-sweep) |
| 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.7 = |
| 66 | * FIXES: Use custom query to delete Orphaned Term Relationship if wp_remove_object_terms() fails |
| 67 | |
| 68 | = 1.0.6 = |
| 69 | * NEW: Delete 'languages' folder from the plugin |
| 70 | * NEW: Use translate.wordpress.org to translate the plugin |
| 71 | * FIXED: Works only with WordPress 4.4 because of new term meta |
| 72 | |
| 73 | = 1.0.5 = |
| 74 | * FIXED: apply_filters() wrong arguments |
| 75 | |
| 76 | = 1.0.4 = |
| 77 | * NEW: oEmbed caches in post meta Sweep |
| 78 | * NEW: Add POT file for translators |
| 79 | |
| 80 | = 1.0.3 = |
| 81 | * NEW: AJAX Sweep All |
| 82 | * NEW: AJAX Sweeping |
| 83 | * NEW: View details of sweep |
| 84 | * NEW: Optimize DB sweep |
| 85 | * NEW: User hint and confirmation. Props @SiamKreative |
| 86 | * FIXED: Division by zero. Pros @barisunver |
| 87 | |
| 88 | = 1.0.2 = |
| 89 | * FIXED: Use term_id for wp_remove_object_terms() |
| 90 | * FIXED: number_format_i18n() issues after sweeping |
| 91 | |
| 92 | = 1.0.1 = |
| 93 | * NEW: Moved plugin location to WP-Admin -> Tools -> Sweep |
| 94 | * NEW: Add Deleted Post Sweep |
| 95 | * FIXED: Use forced_delete for wp_delete_post() and wp_delete_comment(); |
| 96 | * FIXED: If orphaned meta has an object id of 0, use SQL query to delete |
| 97 | |
| 98 | = 1.0.0 = |
| 99 | * Initial release |
| 100 | |
| 101 | == Installation == |
| 102 | 1. Upload `wp-sweep` folder to the `/wp-content/plugins/` directory |
| 103 | 2. Activate the `WP-Sweep` plugin through the 'Plugins' menu in WordPress |
| 104 | 3. You can access `WP-Sweep` via `WP-Admin -> Tools -> Sweep` |
| 105 | |
| 106 | == Screenshots == |
| 107 | 1. WP-Sweep Administrator Page (Before Sweeping) |
| 108 | 2. WP-Sweep Administrator Page (Swept) |
| 109 | |
| 110 | == Frequently Asked Questions == |
| 111 | Coming soon ... |
| 112 | |
| 113 | == Upgrade Notice == |
| 114 | N/A |
| 115 |