-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github updater, wp-sync-db and sync-media, search-replace plugins
- Loading branch information
Showing
138 changed files
with
29,870 additions
and
0 deletions.
There are no files selected for viewing
674 changes: 674 additions & 0 deletions
674
www/wp-content/plugins/better-search-replace/LICENSE.txt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
# Better Search Replace # | ||
**Contributors:** ExpandedFronts | ||
|
||
**Tags:** search replace, update urls, database, search replace database, update database urls, update live url | ||
|
||
**Requires at least:** 3.0.1 | ||
|
||
**Tested up to:** 4.4 | ||
|
||
**Stable tag:** trunk | ||
|
||
**License:** GPLv3 or later | ||
|
||
**License URI:** http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
|
||
A simple plugin for updating URLs or other text in a database. | ||
|
||
## Description ## | ||
|
||
When moving your WordPress site to a new domain or server, you will likely run into a need to run a search/replace on the database for everything to work correctly. Fortunately, there are several plugins available for this task, however, all have a different approach to a few key features. This plugin is an attempt to consolidate the best features from these plugins, incorporating the following features in one simple plugin: | ||
|
||
* Serialization support for all tables | ||
* The ability to select specific tables | ||
* The ability to run a "dry run" to see how many fields will be updated | ||
* No server requirements aside from a running installation of WordPress | ||
* WordPress Multisite support | ||
|
||
**Premium features available in the Pro version:** | ||
|
||
* View exactly what changed during a search/replace | ||
* Backup and import the database while running a search/replace | ||
* Priority email support from the developer of the plugin | ||
* Save or load custom profiles for quickly repeating a search/replace in the future | ||
* Support and updates for 1 year | ||
|
||
**[Learn more about Better Search Replace Pro](https://expandedfronts.com/products/better-search-replace-pro/)** | ||
|
||
|
||
The search/replace functionality is heavily based on interconnect/it's great and open-source Search Replace DB script, modified to use WordPress native database functions to ensure compatibility. | ||
|
||
## Installation ## | ||
|
||
Install Better Search Replace like you would install any other WordPress plugin. | ||
|
||
Dashboard Method: | ||
|
||
1. Login to your WordPress admin and go to Plugins -> Add New | ||
2. Type "Better Search Replace" in the search bar and select this plugin | ||
3. Click "Install", and then "Activate Plugin" | ||
|
||
|
||
Upload Method: | ||
|
||
1. Upload 'better-search-replace.php' to the '/wp-content/plugins/' directory | ||
2. Activate the plugin through the 'Plugins' menu in WordPress | ||
|
||
## Changelog ## | ||
|
||
### 1.2.9 - December 8, 2015 ### | ||
* Fix: Bug with case-insensitive searches in serialized objects | ||
* Fix: Bug with early skip due to lack of primary key | ||
|
||
### 1.2.8 - November 25, 2015 ### | ||
* Fix: Bug with report details | ||
|
||
### 1.2.7 - November 24, 2015 ### | ||
* Fix: Untranslateable string | ||
* Tweak: Check BSR_PATH instead of ABSPATH to be consistent | ||
* Tested with 4.4 | ||
|
||
### 1.2.6 ### | ||
* Removed unused code/small cleanup | ||
|
||
### 1.2.5 ### | ||
* Improved progress bar info and styles | ||
* Small cleanup | ||
|
||
### 1.2.4 ### | ||
* Added "Settings saved" notice when saving settings | ||
* Fixed bug with wp_magic_quotes interfering with some search strings | ||
|
||
### 1.2.3 ### | ||
* Fixed bug with searching for backslashes | ||
* Fixed potential bug with getting tables in large multisites | ||
* Fixed potential notice in append_report | ||
* Improved handling of missing primary keys | ||
|
||
### 1.2.2 ### | ||
* Fixed AJAX conflict with WooCommerce | ||
* Fixed a few issues with translations | ||
* Tweaked "System Info" to use get_locale() instead of WP_LANG constant | ||
* Updated German translation (props @Linus Ziegenhagen) | ||
|
||
### 1.2.1 ### | ||
* Fixed minor issue with display of progress bar | ||
* Updated translation file | ||
|
||
### 1.2 ### | ||
* Switched to AJAX bulk processing for search/replaces | ||
* Decreased minimum "Max Page Size" to 1000 | ||
* Added "Help" tab with system info for easier troubleshooting | ||
|
||
### 1.1.1 ### | ||
* Added ability to change max page size | ||
* Decreased default page size to prevent white screen issue on some environments | ||
|
||
### 1.1 ### | ||
* Added ability to change capability required to use plugin | ||
* Small bugfixes and translation fixes | ||
|
||
### 1.0.6 ### | ||
* Added table sizes to the database table listing | ||
* Added French translation (props @Jean Philippe) | ||
|
||
### 1.0.5 ### | ||
* Added support for case-insensitive searches | ||
* Added German translation (props @Linus Ziegenhagen) | ||
|
||
### 1.0.4 ### | ||
* Potential security fixes | ||
|
||
### 1.0.3 ### | ||
* Fixed issue with searching for special characters like '\' | ||
* Fixed bug with replacing some objects | ||
|
||
### 1.0.2 ### | ||
* Fixed untranslateable strings on submit button and submenu page. | ||
|
||
### 1.0.1 ### | ||
* Fixed issue with loading translations and added Spanish translation (props Eduardo Larequi) | ||
* Fixed bug with reporting timing | ||
* Updated to use "Dry Run" as default | ||
* Added support for WordPress Multisite (see FAQs for more info) | ||
|
||
### 1.0 ### | ||
* Initial release |
175 changes: 175 additions & 0 deletions
175
www/wp-content/plugins/better-search-replace/README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
=== Better Search Replace === | ||
Contributors: ExpandedFronts, mattshaw | ||
Tags: search replace, search and replace, update urls, database, search replace database, update database urls, update live url, better search replace, search&replace | ||
Requires at least: 3.0.1 | ||
Tested up to: 4.4 | ||
Stable tag: trunk | ||
License: GPLv3 or later | ||
License URI: http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
A simple plugin to update URLs or other text in a database. | ||
|
||
== Description == | ||
|
||
When moving your WordPress site to a new domain or server, you will likely run into a need to run a search/replace on the database for everything to work correctly. Fortunately, there are several plugins available for this task, however, all have a different approach to a few key features. This plugin consolidates the best features from these plugins, incorporating the following features in one simple plugin: | ||
|
||
* Serialization support for all tables | ||
* The ability to select specific tables | ||
* The ability to run a "dry run" to see how many fields will be updated | ||
* No server requirements aside from a running installation of WordPress | ||
* WordPress Multisite support | ||
|
||
> **Time-saving features available in the Pro version:** | ||
> | ||
> * View exactly what changed during a search/replace | ||
> * Backup and import the database while running a search/replace | ||
> * Priority email support from the developer of the plugin | ||
> * Save or load custom profiles for quickly repeating a search/replace in the future | ||
> * Support and updates for 1 year | ||
> | ||
> **[Learn more about Better Search Replace Pro](https://expandedfronts.com/products/better-search-replace-pro/)** | ||
|
||
The search and replace functionality is heavily based on interconnect/it's great and open-source Search Replace DB script, modified to use WordPress native database functions to ensure compatibility. | ||
|
||
**Supported Languages** | ||
|
||
* English | ||
* French | ||
* German | ||
* Spanish | ||
|
||
**Want to contribute?** | ||
|
||
Feel free to open an issue or submit a pull request on [GitHub](https://github.com/ExpandedFronts/Better-Search-Replace). | ||
|
||
== Installation == | ||
|
||
Install Better Search Replace like you would install any other WordPress plugin. | ||
|
||
Dashboard Method: | ||
|
||
1. Login to your WordPress admin and go to Plugins -> Add New | ||
2. Type "Better Search Replace" in the search bar and select this plugin | ||
3. Click "Install", and then "Activate Plugin" | ||
|
||
|
||
Upload Method: | ||
|
||
1. Unzip the plugin and upload the "better-search-replace" folder to your 'wp-content/plugins' directory | ||
2. Activate the plugin through the Plugins menu in WordPress | ||
|
||
== Frequently Asked Questions == | ||
|
||
= Using Better Search Replace = | ||
|
||
Once activated, Better Search Replace will add a page under the "Tools" menu page in your WordPress admin. | ||
|
||
= Is my host supported? = | ||
|
||
Yes! This plugin should be compatible with any host. | ||
|
||
= Can I damage my site with this plugin? = | ||
|
||
Yes! Entering a wrong search or replace string could damage your database. Because of this, it is always adviseable to have a backup of your database before using this plugin. | ||
|
||
= How does this work on WordPress Multisite? = | ||
|
||
When running this plugin on a WordPress Multisite installation, it will only be loaded and visible for Network admins. Network admins can go to the dashboard of any subsite to run a search/replace on just the tables for that subsite, or go to the dashboard of the main/base site to run a search/replace on all tables. | ||
|
||
= How can I use this plugin when changing URLs? = | ||
|
||
If you're moving your site from one server to another and changing the URL of your WordPress installation, the approach below allows you to do so easily without affecting the old site: | ||
|
||
1. Backup the database on your current site | ||
2. Install the database on your new host | ||
3. On the new host, define the new site URL in the `wp-config.php` file, as shown [here](http://codex.wordpress.org/Changing_The_Site_URL#Edit_wp-config.php) | ||
4. Log in at your new admin URL and run Better Search Replace on the old site URL for the new site URL | ||
5. Delete the site_url constant you added to `wp-config.php`. You may also need to regenerate your .htaccess by going to Settings -> Permalinks and saving the settings. | ||
|
||
More information on moving WordPress can be found [here](http://codex.wordpress.org/Moving_WordPress). | ||
|
||
== Screenshots == | ||
|
||
1. The Better Search Replace page added to the "Tools" menu | ||
2. After running a search/replace dry-run. | ||
|
||
== Changelog == | ||
|
||
= 1.2.9 - December 8, 2015 = | ||
* Fix: Bug with case-insensitive searches in serialized objects | ||
* Fix: Bug with early skip due to lack of primary key | ||
|
||
= 1.2.8 - November 25, 2015 = | ||
* Fix: Bug with report details | ||
|
||
= 1.2.7 - November 24, 2015 = | ||
* Fix: Untranslateable string | ||
* Tweak: Check BSR_PATH instead of ABSPATH to be consistent | ||
* Tested with 4.4 | ||
|
||
= 1.2.6 = | ||
* Removed unused code/small cleanup | ||
|
||
= 1.2.5 = | ||
* Improved progress bar info and styles | ||
* Small cleanup | ||
|
||
= 1.2.4 = | ||
* Added "Settings saved" notice when saving settings | ||
* Fixed bug with wp_magic_quotes interfering with some search strings | ||
|
||
= 1.2.3 = | ||
* Fixed bug with searching for backslashes | ||
* Fixed potential bug with getting tables in large multisites | ||
* Fixed potential notice in append_report | ||
* Improved handling of missing primary keys | ||
|
||
= 1.2.2 = | ||
* Fixed AJAX conflict with WooCommerce | ||
* Fixed a few issues with translations | ||
* Tweaked "System Info" to use get_locale() instead of WP_LANG constant | ||
* Updated German translation (props @Linus Ziegenhagen) | ||
|
||
= 1.2.1 = | ||
* Fixed minor issue with display of progress bar | ||
* Updated translation file | ||
|
||
= 1.2 = | ||
* Switched to AJAX bulk processing for search/replaces | ||
* Decreased minimum "Max Page Size" to 1000 | ||
* Added "Help" tab with system info for easier troubleshooting | ||
|
||
= 1.1.1 = | ||
* Added ability to change max page size | ||
* Decreased default page size to prevent white screen issue on some environments | ||
|
||
= 1.1 = | ||
* Added ability to change capability required to use plugin | ||
* Small bugfixes and translation fixes | ||
|
||
= 1.0.6 = | ||
* Added table sizes to the database table listing | ||
* Added French translation (props @Jean Philippe) | ||
|
||
= 1.0.5 = | ||
* Added support for case-insensitive searches | ||
* Added German translation (props @Linus Ziegenhagen) | ||
|
||
= 1.0.4 = | ||
* Potential security fixes | ||
|
||
= 1.0.3 = | ||
* Fixed issue with searching for special characters like '\' | ||
* Fixed bug with replacing some objects | ||
|
||
= 1.0.2 = | ||
* Fixed untranslateable strings on submit button and submenu page. | ||
|
||
= 1.0.1 = | ||
* Fixed issue with loading translations and added Spanish translation (props Eduardo Larequi) | ||
* Fixed bug with reporting timing | ||
* Updated to use "Dry Run" as default | ||
* Added support for WordPress Multisite (see FAQs for more info) | ||
|
||
= 1.0 = | ||
* Initial release |
22 changes: 22 additions & 0 deletions
22
www/wp-content/plugins/better-search-replace/assets/css/better-search-replace.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* better-search-replace.css | ||
* | ||
* Custom CSS for the Better Search Replace administration page. | ||
*/ | ||
|
||
#bsr-results-table th { font-weight: bold; } | ||
#bsr-results-table tbody tr:nth-child(odd) { background-color: #F9F9F9; } | ||
.bsr-second, .bsr-third, .bsr-fourth { text-align: center !important; } | ||
#bsr-details-view { table-layout: fixed; } | ||
.bsr-old-val { background-color: #fdd; } | ||
.bsr-new-val { background-color: #cfc; } | ||
.bsr-change { width: 400px !important; } | ||
.bsr-slider { width: 23em; } | ||
.bsr-progress-wrap { width: 95%; height: 12px; background-color: #ddd; } | ||
.bsr-progress { width: 0%; height: 100%; background-color: #0073aa; } | ||
#bsr-search-replace-wrap { margin-top: 10px; } | ||
.bsr-description { display: block; margin-top: 6px !important; color: #444 !important; } | ||
#bsr-nav-tab-wrapper { margin-top: 0 !important; padding: 0 0 0 10px !important; font-size: 23px !important; } | ||
#bsr-help-heading { font-size: 1.3em !important; padding: 0 !important; } | ||
.bsr-processing-wrap { background: #f4f4f4; padding: 16px 16px 32px; overflow: auto; border-top: 1px solid #eae9e9; margin: 20px -12px -12px -12px; } | ||
.bsr-spinner { margin: -3px 0 0 0; } |
Binary file added
BIN
+418 Bytes
...tter-search-replace/assets/css/images/ui-bg_diagonals-thick_18_b81900_40x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+312 Bytes
...tter-search-replace/assets/css/images/ui-bg_diagonals-thick_20_666666_40x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+205 Bytes
...plugins/better-search-replace/assets/css/images/ui-bg_flat_10_000000_40x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+262 Bytes
...lugins/better-search-replace/assets/css/images/ui-bg_glass_100_f6f6f6_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+348 Bytes
...lugins/better-search-replace/assets/css/images/ui-bg_glass_100_fdf5ce_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+207 Bytes
...plugins/better-search-replace/assets/css/images/ui-bg_glass_65_ffffff_1x400.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+5.68 KB
.../better-search-replace/assets/css/images/ui-bg_gloss-wave_35_f6a828_500x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+278 Bytes
...tter-search-replace/assets/css/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+328 Bytes
...etter-search-replace/assets/css/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.76 KB
...ent/plugins/better-search-replace/assets/css/images/ui-icons_222222_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.44 KB
...ent/plugins/better-search-replace/assets/css/images/ui-icons_228ef1_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.44 KB
...ent/plugins/better-search-replace/assets/css/images/ui-icons_ef8c08_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+4.44 KB
...ent/plugins/better-search-replace/assets/css/images/ui-icons_ffd27a_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+6.15 KB
...ent/plugins/better-search-replace/assets/css/images/ui-icons_ffffff_256x240.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions
7
www/wp-content/plugins/better-search-replace/assets/css/jquery-ui.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+26.3 KB
www/wp-content/plugins/better-search-replace/assets/img/sidebar-upgrade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php // Silence is golden |
Oops, something went wrong.