Skip to content

Commit

Permalink
Merge pull request #77 from globalis-ms/develop
Browse files Browse the repository at this point in the history
version 1.5.1
  • Loading branch information
davddo authored May 21, 2018
2 parents ba5bc86 + 7b77260 commit 433dbc0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Contributors: pdargham, julienog, daviddaug, globalis
* Tags: duplicate, clone, copy, duplication, duplicator, factory, multisite, site, blog, network, wpmu, new blog
* Requires at least: 4.0.0
* Tested up to: 4.9.5
* Stable tag: 1.5.0
* Tested up to: 4.9.6
* Stable tag: 1.5.1
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -95,6 +95,9 @@ Screenshots on

## Changelog

### 1.5.1
* Fix compatibility with PHP version < 5.4

### 1.5.0
* Fix duplicating exponentially usermeta
* Fix unix WP path validation and allow points
Expand Down
3 changes: 2 additions & 1 deletion lib/duplicate.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ function user_array_map( $a ){ return $a[0]; }

if (is_main_site($from_site_id)) {
$is_from_main_site = true;
$all_sites_ids = MUCD_Functions::get_sites(['fields' => 'ids']);
$args = array('fields' => 'ids');
$all_sites_ids = MUCD_Functions::get_sites($args);
if(!empty($all_sites_ids)) {
$all_sites_ids = array_map( 'user_array_map', $all_sites_ids );
}
Expand Down
6 changes: 3 additions & 3 deletions multisite-clone-duplicator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* Author: Julien OGER, Pierre DARGHAM, David DAUGREILH, GLOBALIS media systems
* Author URI: https://github.com/globalis-ms/multisite-clone-duplicator
*
* Version: 1.5.0
* Version: 1.5.1
* Requires at least: 4.0.0
* Tested up to: 4.9.5
* Tested up to: 4.9.6
*
* Network: true
*/
Expand Down Expand Up @@ -53,7 +53,7 @@ class MUCD {
/**
* Plugin's version number
*/
const VERSION = '1.5.0';
const VERSION = '1.5.1';

/**
* Register hooks used by the plugin
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: pdargham, julienog, daviddaug, globalis
Tags: duplicate, clone, copy, duplication, duplicator, factory, multisite, site, blog, network, wpmu, new blog
Requires at least: 4.0.0
Tested up to: 4.9.5
Stable tag: 1.5.0
Tested up to: 4.9.6
Stable tag: 1.5.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -93,6 +93,9 @@ As of now, following languages are supported : English (en_US), French (fr_FR),

== Changelog ==

= 1.5.1 =
* Fix compatibility with PHP version < 5.4

= 1.5.0 =
* Fix duplicating exponentially usermeta
* Fix unix WP path validation and allow points
Expand Down

0 comments on commit 433dbc0

Please sign in to comment.