Reorder Posts - Version 2.5.2

Version Description

  • Released 2022-05-27
  • Cache busting for people who are receiving script errors around Nested Sortable.
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 Reorder Posts
Version 2.5.2
Comparing to
See all releases

Code changes from version 2.5.1 to 2.5.2

Files changed (3) hide show
  1. class-reorder.php +3 -3
  2. index.php +1 -1
  3. readme.txt +7 -3
class-reorder.php CHANGED
@@ -333,10 +333,10 @@ final class MN_Reorder {
333
  * @global string $pagenow Used internally by WordPress to designate what the current page is in the admin panel
334
  */
335
  public function print_scripts() {
336
- wp_enqueue_script( 'jquery-ui-touch-punch', REORDER_URL . '/scripts/jquery.ui.touch-punch.js', array( 'jquery-ui-sortable' ), '0.2.3', true );
337
- wp_register_script( 'reorder_nested', REORDER_URL . '/scripts/jquery.mjs.nestedSortable.js', array( 'jquery-ui-touch-punch' ), '2.0.1', true );
338
 
339
- wp_enqueue_script( 'reorder_posts', REORDER_URL . '/scripts/sort.js', array( 'reorder_nested' ), '20210214', true );
340
  wp_localize_script( 'reorder_posts', 'reorder_posts', array(
341
  'action' => 'post_sort',
342
  'expand' => esc_js( __( 'Expand', 'metronet-reorder-posts' ) ),
333
  * @global string $pagenow Used internally by WordPress to designate what the current page is in the admin panel
334
  */
335
  public function print_scripts() {
336
+ wp_enqueue_script( 'jquery-ui-touch-punch', REORDER_URL . '/scripts/jquery.ui.touch-punch.js', array( 'jquery-ui-sortable' ), '0.2.5', true );
337
+ wp_register_script( 'reorder_nested', REORDER_URL . '/scripts/jquery.mjs.nestedSortable.js', array( 'jquery-ui-touch-punch' ), '2.1.0', true );
338
 
339
+ wp_enqueue_script( 'reorder_posts', REORDER_URL . '/scripts/sort.js', array( 'reorder_nested' ), '20220527', true );
340
  wp_localize_script( 'reorder_posts', 'reorder_posts', array(
341
  'action' => 'post_sort',
342
  'expand' => esc_js( __( 'Expand', 'metronet-reorder-posts' ) ),
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Reorder Posts
4
  Plugin URI: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Description: Easily reorder posts and pages in WordPress
6
- Version: 2.5.1
7
  Author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
8
  Author URI: https://github.com/ronalfy/reorder-posts
9
  Text Domain: metronet-reorder-posts
3
  Plugin Name: Reorder Posts
4
  Plugin URI: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Description: Easily reorder posts and pages in WordPress
6
+ Version: 2.5.2
7
  Author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
8
  Author URI: https://github.com/ronalfy/reorder-posts
9
  Text Domain: metronet-reorder-posts
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URL: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Requires at Least: 3.7
6
  Tested up to: 6.0
7
  Tags: reorder, reorder posts
8
- Stable tag: 2.5.1
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -129,6 +129,10 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
129
 
130
  == Changelog ==
131
 
 
 
 
 
132
  = 2.5.1 =
133
  * Released 2022-02-14
134
  * Fixing sortable script with newer versions of jQuery sortable.
@@ -247,5 +251,5 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
247
 
248
  == Upgrade Notice ==
249
 
250
- = 2.5.1 =
251
- Fixing sortable script with newer versions of jQuery sortable causing errors when sorting.
5
  Requires at Least: 3.7
6
  Tested up to: 6.0
7
  Tags: reorder, reorder posts
8
+ Stable tag: 2.5.2
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
129
 
130
  == Changelog ==
131
 
132
+ = 2.5.2 =
133
+ * Released 2022-05-27
134
+ * Cache busting for people who are receiving script errors around Nested Sortable.
135
+
136
  = 2.5.1 =
137
  * Released 2022-02-14
138
  * Fixing sortable script with newer versions of jQuery sortable.
251
 
252
  == Upgrade Notice ==
253
 
254
+ = 2.5.2 =
255
+ Cache busting for people who are receiving script errors around Nested Sortable.