Version Description
Download this release
Release Info
| Developer | machothemes |
| Plugin | |
| Version | 2.3.7 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.6 to 2.3.7
- readme.md +4 -1
- settings.php +1 -1
- simple-custom-post-order.php +6 -8
readme.md
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: colorlibplugins, silkalns
|
|
| 3 |
Tags: custom post order, post order, js post order, page order, posts order, category order, sort posts, sort pages, sort custom posts
|
| 4 |
Requires at least: 3.5.1
|
| 5 |
Tested up to: 5.0.0
|
| 6 |
-
Stable tag: 2.3.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -35,6 +35,9 @@ An answer to that question.
|
|
| 35 |
|
| 36 |
== Changelog ==
|
| 37 |
|
|
|
|
|
|
|
|
|
|
| 38 |
= Version 2.3.6 =
|
| 39 |
Fixed https://github.com/ColorlibHQ/simple-custom-post-order/issues/3
|
| 40 |
|
| 3 |
Tags: custom post order, post order, js post order, page order, posts order, category order, sort posts, sort pages, sort custom posts
|
| 4 |
Requires at least: 3.5.1
|
| 5 |
Tested up to: 5.0.0
|
| 6 |
+
Stable tag: 2.3.7
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 35 |
|
| 36 |
== Changelog ==
|
| 37 |
|
| 38 |
+
= Version 2.3.7 =
|
| 39 |
+
Fixed white screen ( https://wordpress.org/support/topic/white-screen-after-upgrade-to-2-3-6/ )
|
| 40 |
+
|
| 41 |
= Version 2.3.6 =
|
| 42 |
Fixed https://github.com/ColorlibHQ/simple-custom-post-order/issues/3
|
| 43 |
|
settings.php
CHANGED
|
@@ -117,4 +117,4 @@ $scporder_tags = isset($scporder_options['tags']) ? $scporder_options['tags'] :
|
|
| 117 |
});
|
| 118 |
|
| 119 |
})(jQuery)
|
| 120 |
-
</script>
|
| 117 |
});
|
| 118 |
|
| 119 |
})(jQuery)
|
| 120 |
+
</script>
|
simple-custom-post-order.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin Name: Simple Custom Post Order
|
| 5 |
Plugin URI: https://wordpress.org/plugins-wp/simple-custom-post-order/
|
| 6 |
Description: Order Items (Posts, Pages, and Custom Post Types) using a Drag and Drop Sortable JavaScript.
|
| 7 |
-
Version: 2.3.
|
| 8 |
Author: Colorlib
|
| 9 |
Author URI: https://colorlib.com/wp/
|
| 10 |
*/
|
|
@@ -42,19 +42,16 @@ class SCPO_Engine {
|
|
| 42 |
add_filter('wp_get_object_terms', array($this, 'scporder_get_object_terms'), 10, 3);
|
| 43 |
add_filter('get_terms', array($this, 'scporder_get_object_terms'), 10, 3);
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
| 46 |
}
|
| 47 |
|
| 48 |
public function scporder_notice_not_checked() {
|
| 49 |
-
if ( ! empty( $this->get_scporder_options_objects() ) ){
|
| 50 |
-
return;
|
| 51 |
-
}
|
| 52 |
|
| 53 |
$screen = get_current_screen();
|
| 54 |
|
| 55 |
-
if ( 'settings_page_scporder-settings'
|
| 56 |
-
return;
|
| 57 |
-
}
|
| 58 |
?>
|
| 59 |
<div class="notice scpo-notice" id="scpo-notice">
|
| 60 |
<img src="<?php echo esc_url( plugins_url( 'assets/logo.jpg', __FILE__ ) ); ?>" width="80">
|
|
@@ -77,6 +74,7 @@ class SCPO_Engine {
|
|
| 77 |
}
|
| 78 |
</style>
|
| 79 |
<?php
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
public function scporder_install() {
|
| 4 |
Plugin Name: Simple Custom Post Order
|
| 5 |
Plugin URI: https://wordpress.org/plugins-wp/simple-custom-post-order/
|
| 6 |
Description: Order Items (Posts, Pages, and Custom Post Types) using a Drag and Drop Sortable JavaScript.
|
| 7 |
+
Version: 2.3.7
|
| 8 |
Author: Colorlib
|
| 9 |
Author URI: https://colorlib.com/wp/
|
| 10 |
*/
|
| 42 |
add_filter('wp_get_object_terms', array($this, 'scporder_get_object_terms'), 10, 3);
|
| 43 |
add_filter('get_terms', array($this, 'scporder_get_object_terms'), 10, 3);
|
| 44 |
|
| 45 |
+
if ( empty( $this->get_scporder_options_objects() ) ){
|
| 46 |
+
add_action( 'admin_notices', array( $this, 'scporder_notice_not_checked' ) );
|
| 47 |
+
}
|
| 48 |
}
|
| 49 |
|
| 50 |
public function scporder_notice_not_checked() {
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
$screen = get_current_screen();
|
| 53 |
|
| 54 |
+
if ( 'settings_page_scporder-settings' != $screen->id ) {
|
|
|
|
|
|
|
| 55 |
?>
|
| 56 |
<div class="notice scpo-notice" id="scpo-notice">
|
| 57 |
<img src="<?php echo esc_url( plugins_url( 'assets/logo.jpg', __FILE__ ) ); ?>" width="80">
|
| 74 |
}
|
| 75 |
</style>
|
| 76 |
<?php
|
| 77 |
+
}
|
| 78 |
}
|
| 79 |
|
| 80 |
public function scporder_install() {
|
