Skip to content

Commit eaf0439

Browse files
committed
Deploying version 1.0.7
1 parent 0401cac commit eaf0439

File tree

12 files changed

+1700
-2352
lines changed

12 files changed

+1700
-2352
lines changed
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

languages/wp-migrate-db-en.pot

Lines changed: 1669 additions & 2328 deletions
Large diffs are not rendered by default.

readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: migrate, migration, export, data dump, backup, database, mysql, find & rep
55
Requires at least: 3.6
66
Requires PHP: 5.4
77
Tested up to: 4.9.8
8-
Stable tag: 1.0.6
8+
Stable tag: 1.0.7
99
License: GPLv2
1010

1111
Migrates your database by running find & replace on URLs and file paths, handling serialized data, and saving an SQL file.
@@ -91,6 +91,12 @@ If you upgrade to [WP Migrate DB Pro](http://deliciousbrains.com/wp-migrate-db-p
9191
3. Saving the exported database
9292

9393
== Changelog ==
94+
= WP Migrate DB 1.0.7 - 2018-11-21 =
95+
* Bug fix: WP Migrate DB Anonymization plugin no longer functions
96+
* Bug fix: 500 errors occur when another plugin is intalled that includes Composer
97+
* Improvement: Add Theme & Plugin Files Addon to addons list
98+
* Improvement: Remove un-needed template files
99+
94100
= WP Migrate DB 1.0.6 - 2018-11-19 =
95101
* New: Increased PHP version requirement from PHP 5.2+ to PHP 5.4+
96102
* Improvement: Major reorganization of the PHP code into better classes and a better folder structure

setup-mdb.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Populate the $wpmdb global with an instance of the WPMDB class and return it.
44
*
5-
* @return WPMDB The one true global instance of the WPMDB class.
5+
* @return DeliciousBrains\WPMDB\WPMigrateDB The one true global instance of the WPMDB class.
66
*/
77
function wp_migrate_db() {
88
global $wpmdb;
@@ -11,8 +11,8 @@ function wp_migrate_db() {
1111
return $wpmdb;
1212
}
1313

14-
$WPMDB = new DeliciousBrains\WPMDB\Free\WPMigrateDBFree();
15-
$WPMDB->register();
14+
$wpmdb = new DeliciousBrains\WPMDB\Free\WPMigrateDBFree();
15+
$wpmdb->register();
1616

1717
return $wpmdb;
1818
}

template/addons.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@
4343
</div>
4444
</article>
4545

46+
<article class="addon wp-migrate-db-pro-theme-plugin-files">
47+
<div class="desc">
48+
<h1><?php _e( 'Theme &amp; Plugin Files', 'wp-migrate-db' ); ?></h1>
49+
<p><?php printf( __( 'Allows you to push and pull your theme and plugin files between two WordPress installs. <a href="%s">More Details &rarr;</a>', 'wp-migrate-db' ), "https://deliciousbrains.com/wp-migrate-db-pro/doc/theme-plugin-files-addon/?utm_campaign=addons%2Binstall&utm_source=$is_pro&utm_medium=insideplugin" ); ?></p>
50+
</div>
51+
</article>
52+
4653
<?php endif; ?>
4754
</div>
4855
</div>

template/backups.php

Lines changed: 0 additions & 6 deletions
This file was deleted.

template/options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
}
6363

6464
if( $this->props->is_pro ){
65-
$this->template( 'backups' );
65+
$this->template( 'backups', 'pro' );
6666
}
6767

6868
$this->template( 'settings' );

vendor/composer/ClassLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* file that was distributed with this source code.
1111
*/
1212

13-
namespace Composer\Autoload;
13+
namespace DeliciousBrains\WPMDB\vendor\Composer\Autoload;
1414

1515
/**
1616
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.

vendor/composer/autoload_real.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ComposerAutoloaderInit6f497b9a6dd436300fa985a250762cda
88

99
public static function loadClassLoader($class)
1010
{
11-
if ('Composer\Autoload\ClassLoader' === $class) {
11+
if ('DeliciousBrains\WPMDB\vendor\Composer\Autoload\ClassLoader' === $class) {
1212
require __DIR__ . '/ClassLoader.php';
1313
}
1414
}
@@ -20,14 +20,14 @@ public static function getLoader()
2020
}
2121

2222
spl_autoload_register(array('ComposerAutoloaderInit6f497b9a6dd436300fa985a250762cda', 'loadClassLoader'), true, true);
23-
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
23+
self::$loader = $loader = new \DeliciousBrains\WPMDB\vendor\Composer\Autoload\ClassLoader();
2424
spl_autoload_unregister(array('ComposerAutoloaderInit6f497b9a6dd436300fa985a250762cda', 'loadClassLoader'));
2525

2626
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
2727
if ($useStaticLoader) {
2828
require_once __DIR__ . '/autoload_static.php';
2929

30-
call_user_func(\Composer\Autoload\ComposerStaticInit6f497b9a6dd436300fa985a250762cda::getInitializer($loader));
30+
call_user_func(\DeliciousBrains\WPMDB\vendor\Composer\Autoload\ComposerStaticInit6f497b9a6dd436300fa985a250762cda::getInitializer($loader));
3131
} else {
3232
$classMap = require __DIR__ . '/autoload_classmap.php';
3333
if ($classMap) {

0 commit comments

Comments
 (0)