Version Description
- Fix: Outputs the admin save notice through admin_notices filter
Download this release
Release Info
Developer | nsp-code |
Plugin | Post Types Order |
Version | 1.9.5.1 |
Comparing to | |
See all releases |
Code changes from version 1.9.5 to 1.9.5.1
- include/class.options.php +10 -2
- post-types-order.php +1 -1
- readme.txt +4 -1
include/class.options.php
CHANGED
@@ -37,14 +37,22 @@
|
|
37 |
|
38 |
$options['navigation_sort_apply'] = isset($_POST['navigation_sort_apply']) ? intval($_POST['navigation_sort_apply']) : '';
|
39 |
|
40 |
-
echo '<div class="updated fade"><p>' . esc_html__('Settings Saved', 'post-types-order') . '</p></div>';
|
41 |
-
|
42 |
update_option('cpto_options', $options);
|
43 |
update_option('CPT_configured', 'TRUE');
|
|
|
|
|
44 |
|
45 |
}
|
46 |
|
47 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
|
50 |
function plugin_options_interface()
|
37 |
|
38 |
$options['navigation_sort_apply'] = isset($_POST['navigation_sort_apply']) ? intval($_POST['navigation_sort_apply']) : '';
|
39 |
|
|
|
|
|
40 |
update_option('cpto_options', $options);
|
41 |
update_option('CPT_configured', 'TRUE');
|
42 |
+
|
43 |
+
add_action( 'admin_notices', array( $this, 'admin_save_notice') );
|
44 |
|
45 |
}
|
46 |
|
47 |
}
|
48 |
+
|
49 |
+
|
50 |
+
function admin_save_notice()
|
51 |
+
{
|
52 |
+
|
53 |
+
echo "<div class='updated'><p>". esc_html__('Settings Saved', 'post-types-order') ."</p></div>";
|
54 |
+
|
55 |
+
}
|
56 |
|
57 |
|
58 |
function plugin_options_interface()
|
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
|
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.1
|
9 |
Text Domain: post-types-order
|
10 |
Domain Path: /languages/
|
11 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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
|
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,9 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
94 |
|
95 |
== Change Log ==
|
96 |
|
|
|
|
|
|
|
97 |
= 1.9.5 =
|
98 |
- Fix: disable drag & drop within taxonomies interfaces; fix WooCommerce attributes sort issue
|
99 |
- Reorder interface slight styles improvements
|
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 |
|
95 |
== Change Log ==
|
96 |
|
97 |
+
= 1.9.5.1 =
|
98 |
+
- Fix: Outputs the admin save notice through admin_notices filter
|
99 |
+
|
100 |
= 1.9.5 =
|
101 |
- Fix: disable drag & drop within taxonomies interfaces; fix WooCommerce attributes sort issue
|
102 |
- Reorder interface slight styles improvements
|