Version Description
- Bug fix - error when deleting the generated menu
Download this release
Release Info
Developer | kylephillips |
Plugin | Nested Pages |
Version | 1.3.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 1.3.7
- app/Entities/NavMenu/NavMenuRepository.php +7 -7
- app/NestedPages.php +1 -1
- nestedpages.php +1 -1
- readme.txt +4 -1
app/Entities/NavMenu/NavMenuRepository.php
CHANGED
@@ -73,13 +73,13 @@ class NavMenuRepository {
|
|
73 |
*/
|
74 |
public function getMenuTermObject()
|
75 |
{
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
}
|
84 |
|
85 |
|
73 |
*/
|
74 |
public function getMenuTermObject()
|
75 |
{
|
76 |
+
$menu_id = get_option('nestedpages_menu');
|
77 |
+
$term = get_term_by('id', $menu_id, 'nav_menu');
|
78 |
+
if ( $term ) return get_term_by('id', $menu_id, 'nav_menu');
|
79 |
+
|
80 |
+
// No Menu Yet
|
81 |
+
$this->createNewMenu();
|
82 |
+
return $this->getMenuTermObject();
|
83 |
}
|
84 |
|
85 |
|
app/NestedPages.php
CHANGED
@@ -12,7 +12,7 @@ class NestedPages {
|
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
-
$np_version = '1.3.
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
}
|
12 |
$np_env = 'live';
|
13 |
|
14 |
global $np_version;
|
15 |
+
$np_version = '1.3.7';
|
16 |
|
17 |
if ( is_admin() ) $app = new NestedPages\Bootstrap;
|
18 |
}
|
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.3.
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: nestedpages
|
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.3.7
|
7 |
Author: Kyle Phillips
|
8 |
Author URI: https://github.com/kylephillips
|
9 |
Text Domain: nestedpages
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://nestedpages.com/
|
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.3.
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -85,6 +85,9 @@ If you have WordPress SEO by Yoast installed, your page score indicators are sho
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
88 |
= 1.3.6 =
|
89 |
* Bug fix – error preventing new install resolved
|
90 |
|
4 |
Tags: pages, admin, nested, tree view, page tree, sort, quick edit, structure
|
5 |
Requires at least: 3.8
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.3.6
|
8 |
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 1.3.7 =
|
89 |
+
* Bug fix - error when deleting the generated menu
|
90 |
+
|
91 |
= 1.3.6 =
|
92 |
* Bug fix – error preventing new install resolved
|
93 |
|