Version Description
- Fixes issue where some custom blocks were not duplicating when cloning a post.
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 3.1.18 |
Comparing to | |
See all releases |
Code changes from version 3.1.17 to 3.1.18
- app/Entities/Post/PostCloner.php +1 -1
- app/NestedPages.php +1 -1
- nestedpages.php +1 -1
- readme.txt +5 -2
app/Entities/Post/PostCloner.php
CHANGED
@@ -87,7 +87,7 @@ class PostCloner
|
|
87 |
'to_ping' => $this->original_post->to_ping,
|
88 |
'menu_order' => $this->original_post->menu_order
|
89 |
];
|
90 |
-
$this->new_id = wp_insert_post($args);
|
91 |
$this->new_posts[] = $this->new_id;
|
92 |
}
|
93 |
|
87 |
'to_ping' => $this->original_post->to_ping,
|
88 |
'menu_order' => $this->original_post->menu_order
|
89 |
];
|
90 |
+
$this->new_id = wp_insert_post(wp_slash($args));
|
91 |
$this->new_posts[] = $this->new_id;
|
92 |
}
|
93 |
|
app/NestedPages.php
CHANGED
@@ -12,7 +12,7 @@ class NestedPages
|
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
-
$np_version = '3.1.
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
if ( !is_admin() ) $app = new NestedPages\FrontEndBootstrap;
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
+
$np_version = '3.1.18';
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
if ( !is_admin() ) $app = new NestedPages\FrontEndBootstrap;
|
nestedpages.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Nested Pages
|
4 |
Plugin URI: http://nestedpages.com
|
5 |
Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while enhancing quick edit. Includes an auto-generated menu to match the nested interface, support for all post types and more.
|
6 |
-
Version: 3.1.
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: wp-nested-pages
|
3 |
Plugin Name: Nested Pages
|
4 |
Plugin URI: http://nestedpages.com
|
5 |
Description: Provides an intuitive drag and drop interface for managing pages in the Wordpress admin, while enhancing quick edit. Includes an auto-generated menu to match the nested interface, support for all post types and more.
|
6 |
+
Version: 3.1.18
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: wp-nested-pages
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: kylephillips
|
|
3 |
Donate link: https://github.com/sponsors/kylephillips/
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
5 |
Requires at least: 3.8
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 3.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -105,6 +105,9 @@ No. The menu synchronization currently only works within the pages post type.
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
108 |
= 3.1.17 =
|
109 |
* Adds background saving of post status selection (Selecting "Published" in the post status filter will now persist on page reload)
|
110 |
* Fixes bugs in admin customization related to addition of menu items added by other plugins
|
3 |
Donate link: https://github.com/sponsors/kylephillips/
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
5 |
Requires at least: 3.8
|
6 |
+
Tested up to: 5.8
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.1.18
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
105 |
|
106 |
== Changelog ==
|
107 |
|
108 |
+
= 3.1.18 =
|
109 |
+
* Fixes issue where some custom blocks were not duplicating when cloning a post.
|
110 |
+
|
111 |
= 3.1.17 =
|
112 |
* Adds background saving of post status selection (Selecting "Published" in the post status filter will now persist on page reload)
|
113 |
* Fixes bugs in admin customization related to addition of menu items added by other plugins
|