Version Description
Download this release
Release Info
| Developer | machothemes |
| Plugin | |
| Version | 2.3.8 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.7 to 2.3.8
- readme.md +6 -3
- simple-custom-post-order.php +12 -6
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,11 +35,14 @@ An answer to that question.
|
|
| 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 |
|
| 44 |
= Version 2.3.5 =
|
| 45 |
* Fixed https://github.com/ColorlibHQ/simple-custom-post-order/issues/12
|
| 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.8
|
| 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.8 =
|
| 39 |
+
* Fixed white screen ( https://wordpress.org/support/topic/white-screen-after-upgrade-to-2-3-6/ )
|
| 40 |
+
|
| 41 |
= Version 2.3.7 =
|
| 42 |
+
* Fixed white screen ( https://wordpress.org/support/topic/white-screen-after-upgrade-to-2-3-6/ )
|
| 43 |
|
| 44 |
= Version 2.3.6 =
|
| 45 |
+
* Fixed https://github.com/ColorlibHQ/simple-custom-post-order/issues/3
|
| 46 |
|
| 47 |
= Version 2.3.5 =
|
| 48 |
* Fixed https://github.com/ColorlibHQ/simple-custom-post-order/issues/12
|
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 |
*/
|
|
@@ -41,17 +41,24 @@ class SCPO_Engine {
|
|
| 41 |
add_filter('get_terms_orderby', array($this, 'scporder_get_terms_orderby'), 10, 3);
|
| 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'
|
|
|
|
|
|
|
|
|
|
| 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,7 +81,6 @@ class SCPO_Engine {
|
|
| 74 |
}
|
| 75 |
</style>
|
| 76 |
<?php
|
| 77 |
-
}
|
| 78 |
}
|
| 79 |
|
| 80 |
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.8
|
| 8 |
Author: Colorlib
|
| 9 |
Author URI: https://colorlib.com/wp/
|
| 10 |
*/
|
| 41 |
add_filter('get_terms_orderby', array($this, 'scporder_get_terms_orderby'), 10, 3);
|
| 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 |
+
add_action( 'admin_notices', array( $this, 'scporder_notice_not_checked' ) );
|
| 46 |
|
|
|
|
|
|
|
|
|
|
| 47 |
}
|
| 48 |
|
| 49 |
public function scporder_notice_not_checked() {
|
| 50 |
|
| 51 |
+
$settings = $this->get_scporder_options_objects();
|
| 52 |
+
if ( ! empty( $settings ) ){
|
| 53 |
+
return;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
$screen = get_current_screen();
|
| 57 |
|
| 58 |
+
if ( 'settings_page_scporder-settings' == $screen->id ) {
|
| 59 |
+
return;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
?>
|
| 63 |
<div class="notice scpo-notice" id="scpo-notice">
|
| 64 |
<img src="<?php echo esc_url( plugins_url( 'assets/logo.jpg', __FILE__ ) ); ?>" width="80">
|
| 81 |
}
|
| 82 |
</style>
|
| 83 |
<?php
|
|
|
|
| 84 |
}
|
| 85 |
|
| 86 |
public function scporder_install() {
|
