Version Description
- Fixes bug introduced in v3.0.3 that prevented selection of privacy page.
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 3.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.3 to 3.0.4
- app/Entities/Post/PrivatePostParent.php +2 -2
- app/NestedPages.php +1 -1
- nestedpages.php +1 -1
- readme.txt +4 -1
app/Entities/Post/PrivatePostParent.php
CHANGED
@@ -13,10 +13,10 @@ class PrivatePostParent
|
|
13 |
add_filter('wp_dropdown_pages', [$this, 'metabox']);
|
14 |
}
|
15 |
|
16 |
-
public function metabox()
|
17 |
{
|
18 |
global $post;
|
19 |
-
if ( !$post ) return;
|
20 |
|
21 |
$args = [
|
22 |
'post_type' => $post->post_type,
|
13 |
add_filter('wp_dropdown_pages', [$this, 'metabox']);
|
14 |
}
|
15 |
|
16 |
+
public function metabox($output)
|
17 |
{
|
18 |
global $post;
|
19 |
+
if ( !$post ) return $output;
|
20 |
|
21 |
$args = [
|
22 |
'post_type' => $post->post_type,
|
app/NestedPages.php
CHANGED
@@ -12,7 +12,7 @@ class NestedPages
|
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
-
$np_version = '3.0.
|
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.0.4';
|
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.0.
|
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.0.4
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: wp-nested-pages
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 3.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -102,6 +102,9 @@ Nested Pages uses the same ordering methodology as WordPress core. The plugin of
|
|
102 |
|
103 |
== Changelog ==
|
104 |
|
|
|
|
|
|
|
105 |
= 3.0.3 =
|
106 |
* Fixes PHP error when performing a search with no results.
|
107 |
* Fixes WordPress core issue where children of a private post become unnested after editing the post.
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.9
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 3.0.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 3.0.4 =
|
106 |
+
* Fixes bug introduced in v3.0.3 that prevented selection of privacy page.
|
107 |
+
|
108 |
= 3.0.3 =
|
109 |
* Fixes PHP error when performing a search with no results.
|
110 |
* Fixes WordPress core issue where children of a private post become unnested after editing the post.
|