Nested Pages - Version 1.4.1

Version Description

  • Bug fix in quick edit where child pages display parent row data on update.
Download this release

Release Info

Developer kylephillips
Plugin Icon 128x128 Nested Pages
Version 1.4.1
Comparing to
See all releases

Code changes from version 1.4.0 to 1.4.1

app/NestedPages.php CHANGED
@@ -12,7 +12,7 @@ class NestedPages {
12
  $np_env = 'live';
13
 
14
  global $np_version;
15
- $np_version = '1.4.0';
16
 
17
  if ( is_admin() ) $app = new NestedPages\Bootstrap;
18
  }
12
  $np_env = 'live';
13
 
14
  global $np_version;
15
+ $np_version = '1.4.1';
16
 
17
  if ( is_admin() ) $app = new NestedPages\Bootstrap;
18
  }
assets/js/lib/nestedpages.quickedit-post.js CHANGED
@@ -325,7 +325,8 @@ NestedPages.QuickEditPost = function()
325
  // Update the Row after saving quick edit data
326
  plugin.updatePostRow = function()
327
  {
328
- plugin.row = $(plugin.form).parent('.page-row');
 
329
  $(plugin.row).find('.title').text(plugin.newData.post_title);
330
 
331
  var status = $(plugin.row).find('.status');
@@ -419,7 +420,6 @@ NestedPages.QuickEditPost = function()
419
  for ( i = 0; i < taxonomies.length; i++ ){
420
  $(plugin.row).removeClass(taxonomies[i]);
421
  }
422
- console.log(plugin.newData);
423
  $(plugin.row).addClass(plugin.newData._status);
424
  }
425
 
325
  // Update the Row after saving quick edit data
326
  plugin.updatePostRow = function()
327
  {
328
+ plugin.row = $(plugin.button).parents('.row-inner');
329
+
330
  $(plugin.row).find('.title').text(plugin.newData.post_title);
331
 
332
  var status = $(plugin.row).find('.status');
420
  for ( i = 0; i < taxonomies.length; i++ ){
421
  $(plugin.row).removeClass(taxonomies[i]);
422
  }
 
423
  $(plugin.row).addClass(plugin.newData._status);
424
  }
425
 
assets/js/nestedpages.min.js CHANGED
@@ -1220,7 +1220,8 @@ NestedPages.QuickEditPost = function()
1220
  // Update the Row after saving quick edit data
1221
  plugin.updatePostRow = function()
1222
  {
1223
- plugin.row = $(plugin.form).parent('.page-row');
 
1224
  $(plugin.row).find('.title').text(plugin.newData.post_title);
1225
 
1226
  var status = $(plugin.row).find('.status');
@@ -1314,7 +1315,6 @@ NestedPages.QuickEditPost = function()
1314
  for ( i = 0; i < taxonomies.length; i++ ){
1315
  $(plugin.row).removeClass(taxonomies[i]);
1316
  }
1317
- console.log(plugin.newData);
1318
  $(plugin.row).addClass(plugin.newData._status);
1319
  }
1320
 
1220
  // Update the Row after saving quick edit data
1221
  plugin.updatePostRow = function()
1222
  {
1223
+ plugin.row = $(plugin.button).parents('.row-inner');
1224
+
1225
  $(plugin.row).find('.title').text(plugin.newData.post_title);
1226
 
1227
  var status = $(plugin.row).find('.status');
1315
  for ( i = 0; i < taxonomies.length; i++ ){
1316
  $(plugin.row).removeClass(taxonomies[i]);
1317
  }
 
1318
  $(plugin.row).addClass(plugin.newData._status);
1319
  }
1320
 
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.4.0
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.4.1
7
  Author: Kyle Phillips
8
  Author URI: https://github.com/kylephillips
9
  Text Domain: nestedpages
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: kylephillips
3
  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.2
7
- Stable tag: 1.3.15
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -89,6 +89,9 @@ If you have WordPress SEO by Yoast installed, your page score indicators are sho
89
 
90
  == Changelog ==
91
 
 
 
 
92
  = 1.4.0 =
93
  * Clone/Duplicate functionality added - click the "clone" button in a row to clone/duplicate a post or page
94
  * Bug fix when attempting to trash Advanced Custom Field field groups (Thanks to Ben Plum)
3
  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.3
7
+ Stable tag: 1.4.0
8
 
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
89
 
90
  == Changelog ==
91
 
92
+ = 1.4.1 =
93
+ * Bug fix in quick edit where child pages display parent row data on update.
94
+
95
  = 1.4.0 =
96
  * Clone/Duplicate functionality added - click the "clone" button in a row to clone/duplicate a post or page
97
  * Bug fix when attempting to trash Advanced Custom Field field groups (Thanks to Ben Plum)