Post Types Order - Version 1.9.5.2

Version Description

  • Clean post cache on order update to allow menu_order to change on cached data
    • WordPress 5.5 compatibility tag
Download this release

Release Info

Developer nsp-code
Plugin Icon 128x128 Post Types Order
Version 1.9.5.2
Comparing to
See all releases

Code changes from version 1.9.5.1 to 1.9.5.2

Files changed (3) hide show
  1. include/class.cpto.php +2 -0
  2. post-types-order.php +1 -1
  3. readme.txt +6 -2
include/class.cpto.php CHANGED
@@ -471,6 +471,8 @@
471
  $data = apply_filters('pto/save-ajax-order', $data, $menu_order, $id);
472
 
473
  $wpdb->update( $wpdb->posts, $data, array('ID' => $id) );
 
 
474
  }
475
 
476
  //trigger action completed
471
  $data = apply_filters('pto/save-ajax-order', $data, $menu_order, $id);
472
 
473
  $wpdb->update( $wpdb->posts, $data, array('ID' => $id) );
474
+
475
+ clean_post_cache( $id );
476
  }
477
 
478
  //trigger action completed
post-types-order.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.nsp-code.com
5
  Description: Posts Order and Post Types Objects Order using a Drag and Drop Sortable javascript capability
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
- Version: 1.9.5.1
9
  Text Domain: post-types-order
10
  Domain Path: /languages/
11
  */
5
  Description: Posts Order and Post Types Objects Order using a Drag and Drop Sortable javascript capability
6
  Author: Nsp Code
7
  Author URI: http://www.nsp-code.com
8
+ Version: 1.9.5.2
9
  Text Domain: post-types-order
10
  Domain Path: /languages/
11
  */
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: nsp-code, tdgu
3
  Donate link: http://www.nsp-code.com/donate.php
4
  Tags: post order, posts order, sort, post sort, posts sort, post type order, custom order, admin posts order
5
  Requires at least: 2.8
6
- Tested up to: 5.4.2
7
- Stable tag: 1.9.5.1
8
 
9
  Post Order and custom Post Type Objects (custom post types) using a Drag and Drop Sortable JavaScript AJAX interface or default WordPress dashboard.
10
 
@@ -94,6 +94,10 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
94
 
95
  == Change Log ==
96
 
 
 
 
 
97
  = 1.9.5.1 =
98
  - Fix: Outputs the admin save notice through admin_notices filter
99
 
3
  Donate link: http://www.nsp-code.com/donate.php
4
  Tags: post order, posts order, sort, post sort, posts sort, post type order, custom order, admin posts order
5
  Requires at least: 2.8
6
+ Tested up to: 5.5
7
+ Stable tag: 1.9.5.2
8
 
9
  Post Order and custom Post Type Objects (custom post types) using a Drag and Drop Sortable JavaScript AJAX interface or default WordPress dashboard.
10
 
94
 
95
  == Change Log ==
96
 
97
+ = 1.9.5.2 =
98
+ - Clean post cache on order update to allow menu_order to change on cached data
99
+ - WordPress 5.5 compatibility tag
100
+
101
  = 1.9.5.1 =
102
  - Fix: Outputs the admin save notice through admin_notices filter
103