Version Description
- Option to customize the generated nav menu added
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 1.1.3 |
Comparing to | |
See all releases |
Code changes from version 1.1.2 to 1.1.3
- includes/class-nestedpages.php +2 -0
- includes/class-np-updates.php +35 -0
- nestedpages.php +1 -1
- readme.txt +8 -3
includes/class-nestedpages.php
CHANGED
@@ -17,6 +17,7 @@ require_once('class-np-newpage.php');
|
|
17 |
require_once('class-np-redirects.php');
|
18 |
require_once('class-np-posttypes.php');
|
19 |
require_once('class-np-settings.php');
|
|
|
20 |
|
21 |
/**
|
22 |
* Primary Plugin Class
|
@@ -39,6 +40,7 @@ class NestedPages {
|
|
39 |
public function init()
|
40 |
{
|
41 |
new NP_Activate;
|
|
|
42 |
new NP_Dependencies;
|
43 |
new NP_PageListing;
|
44 |
new NP_NewPage;
|
17 |
require_once('class-np-redirects.php');
|
18 |
require_once('class-np-posttypes.php');
|
19 |
require_once('class-np-settings.php');
|
20 |
+
require_once('class-np-updates.php');
|
21 |
|
22 |
/**
|
23 |
* Primary Plugin Class
|
40 |
public function init()
|
41 |
{
|
42 |
new NP_Activate;
|
43 |
+
new NP_Updates;
|
44 |
new NP_Dependencies;
|
45 |
new NP_PageListing;
|
46 |
new NP_NewPage;
|
includes/class-np-updates.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Updates
|
4 |
+
*/
|
5 |
+
class NP_Updates {
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Plugin Version
|
9 |
+
*/
|
10 |
+
private $version;
|
11 |
+
|
12 |
+
public function __construct()
|
13 |
+
{
|
14 |
+
$this->setVersion();
|
15 |
+
$this->addMenuOption();
|
16 |
+
}
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Set User's Plugin version
|
20 |
+
*/
|
21 |
+
private function setVersion()
|
22 |
+
{
|
23 |
+
$this->version = get_option('nestedpages_version');
|
24 |
+
}
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Make sure menu option is
|
28 |
+
*/
|
29 |
+
private function addMenuOption()
|
30 |
+
{
|
31 |
+
if ( !get_option('nestedpages_menu') )
|
32 |
+
update_option('nestedpages_menu', 'nestedpages');
|
33 |
+
}
|
34 |
+
|
35 |
+
}
|
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 maintaining quick edit functionality.
|
6 |
-
Version: 1.1.
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
License: GPLv2 or later.
|
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 maintaining quick edit functionality.
|
6 |
+
Version: 1.1.3
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
License: GPLv2 or later.
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://nestedpages.com/
|
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -66,9 +66,11 @@ Hierarchical taxonomies are currently supported
|
|
66 |
|
67 |
== Changelog ==
|
68 |
|
|
|
|
|
|
|
69 |
= 1.1.2 =
|
70 |
* Status bug fix in pages view
|
71 |
-
* Option to customize the generated nav menu added
|
72 |
|
73 |
= 1.1 =
|
74 |
* Expanded/Collapsed states now saved for each user
|
@@ -83,8 +85,11 @@ Hierarchical taxonomies are currently supported
|
|
83 |
|
84 |
== Upgrade Notice ==
|
85 |
|
|
|
|
|
|
|
86 |
= 1.1.2 =
|
87 |
-
Includes fix for pages view that was preventing draft and private pages from being loaded.
|
88 |
|
89 |
= 1.1 =
|
90 |
Several new features have been added in version 1.1, including: saved toggle states, additional menu options, trash functionality, ability to add "link" menu items, and more.
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
66 |
|
67 |
== Changelog ==
|
68 |
|
69 |
+
= 1.1.3 =
|
70 |
+
* Option to customize the generated nav menu added
|
71 |
+
|
72 |
= 1.1.2 =
|
73 |
* Status bug fix in pages view
|
|
|
74 |
|
75 |
= 1.1 =
|
76 |
* Expanded/Collapsed states now saved for each user
|
85 |
|
86 |
== Upgrade Notice ==
|
87 |
|
88 |
+
= 1.1.3 =
|
89 |
+
Added option to rename the generated nav menu.
|
90 |
+
|
91 |
= 1.1.2 =
|
92 |
+
Includes fix for pages view that was preventing draft and private pages from being loaded.
|
93 |
|
94 |
= 1.1 =
|
95 |
Several new features have been added in version 1.1, including: saved toggle states, additional menu options, trash functionality, ability to add "link" menu items, and more.
|