Post Types Order - Version 1.9.5.7

Version Description

  • Code cleanup
    • WordPress 5.8.1 compatibility tag
Download this release

Release Info

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

Code changes from version 1.9.5.6 to 1.9.5.7

css/cpt.css CHANGED
@@ -5,14 +5,10 @@
5
  #order-post-type #sortable li span { display: block; font-size:14px;}
6
  #order-post-type #sortable li.placeholder{border: dashed 2px #ccc;height:18px; background-color: #FFF;}
7
 
8
- #icon-settings {background-image:url("../images/admin-icon-settings.gif");background-repeat:no-repeat;}
9
  #cpto h2.subtitle {font-size: 15px; font-style: italic; font-weight: bold; padding-left: 0px}
10
  .wrap .example { color: #666666; font-size: 11px; font-weight: bold}
11
 
12
- #cpto #cpt_info_box {padding: 0 10px; border: 1px dashed #6aadcc; background-color: #FFF; margin-top: 10px;
13
- -webkit-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
14
- -moz-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);
15
- box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
16
  #cpto #cpt_info_box a {text-decoration: none}
17
  #cpto #cpt_info_box #donate_form { padding: 20px 0 17px; text-align: center; width: 100%;}
18
  .menu_pto {margin-right: 4px; display: inline; vertical-align: middle; margin-top: -1px;}
@@ -20,5 +16,4 @@ box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
20
  #cpto #p_right {float: right; background-color:#f5f5f5; border: 1px dashed #6aadcc; padding: 0px 10px; margin-top: 10px}
21
  #cpto .p_s_item {float: right; padding: 0px 5px; margin-top: 10px; margin-bottom: 5px; }
22
 
23
-
24
  .clear {clear: both}
5
  #order-post-type #sortable li span { display: block; font-size:14px;}
6
  #order-post-type #sortable li.placeholder{border: dashed 2px #ccc;height:18px; background-color: #FFF;}
7
 
 
8
  #cpto h2.subtitle {font-size: 15px; font-style: italic; font-weight: bold; padding-left: 0px}
9
  .wrap .example { color: #666666; font-size: 11px; font-weight: bold}
10
 
11
+ #cpto #cpt_info_box {padding: 0 10px; border: 1px dashed #6aadcc; background-color: #FFF; margin-top: 10px;-webkit-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);-moz-box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);box-shadow: 1px 1px 7px rgba(50, 50, 50, 0.17);}
 
 
 
12
  #cpto #cpt_info_box a {text-decoration: none}
13
  #cpto #cpt_info_box #donate_form { padding: 20px 0 17px; text-align: center; width: 100%;}
14
  .menu_pto {margin-right: 4px; display: inline; vertical-align: middle; margin-top: -1px;}
16
  #cpto #p_right {float: right; background-color:#f5f5f5; border: 1px dashed #6aadcc; padding: 0px 10px; margin-top: 10px}
17
  #cpto .p_s_item {float: right; padding: 0px 5px; margin-top: 10px; margin-bottom: 5px; }
18
 
 
19
  .clear {clear: both}
images/admin-icon-settings.gif DELETED
Binary file
include/class.functions.php CHANGED
@@ -69,23 +69,9 @@
69
  <div id="p_right">
70
 
71
  <div id="p_socialize">
72
-
73
- <div class="p_s_item s_f">
74
- <div id="fb-root"></div>
75
- <script>(function(d, s, id) {
76
- var js, fjs = d.getElementsByTagName(s)[0];
77
- if (d.getElementById(id)) return;
78
- js = d.createElement(s); js.id = id;
79
- js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
80
- fjs.parentNode.insertBefore(js, fjs);
81
- }(document, 'script', 'facebook-jssdk'));</script>
82
-
83
- <div class="fb-like" data-href="https://www.facebook.com/Nsp-Code-190329887674484/" data-layout="button_count" data-action="like" data-show-faces="true" data-share="false"></div>
84
-
85
- </div>
86
-
87
  <div class="p_s_item s_t">
88
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://www.nsp-code.com" data-text="Define custom order for your post types through an easy to use javascript AJAX drag and drop interface. No theme code updates are necessarily, this plugin will take care of query update." data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
89
  </div>
90
 
91
  <div class="clear"></div>
@@ -93,9 +79,9 @@
93
 
94
  </div>
95
 
96
- <p><?php esc_html_e('Did you find this plugin useful? Please support our work by purchasing the advanced version or write an article about this plugin in your blog with a link to our site', 'post-types-order') ?> <a href="http://www.nsp-code.com/" target="_blank"><strong>http://www.nsp-code.com/</strong></a>.</p>
97
- <h4><?php esc_html_e('Did you know there is available an Advanced version of this plug-in?', 'post-types-order') ?> <a target="_blank" href="http://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-post-types-order/"><?php _e('Read more', 'post-types-order') ?></a></h4>
98
- <p><?php esc_html_e('Check our', 'post-types-order') ?> <a target="_blank" href="http://wordpress.org/plugins/taxonomy-terms-order/">Category Order - Taxonomy Terms Order</a> <?php esc_html_e('plugin which allow to custom sort categories and custom taxonomies terms', 'post-types-order') ?> </p>
99
  <p><span style="color:#CC0000" class="dashicons dashicons-megaphone" alt="f488">&nbsp;</span> <?php esc_html_e('Check out', 'post-types-order') ?> <a href="https://wordpress.org/plugins/wp-hide-security-enhancer/" target="_blank"><b>WP Hide & Security Enhancer</b></a> <?php esc_html_e('the easy way to completely hide your WordPress core files, theme and plugins', 'post-types-order') ?>.</p>
100
 
101
  <div class="clear"></div>
69
  <div id="p_right">
70
 
71
  <div id="p_socialize">
72
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  <div class="p_s_item s_t">
74
+ <a href="https://twitter.com/share" class="twitter-share-button" data-url="https://www.nsp-code.com" data-text="Define custom order for your post types through an easy to use javascript AJAX drag and drop interface. No theme code updates are necessarily, this plugin will take care of query update." data-count="none">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
75
  </div>
76
 
77
  <div class="clear"></div>
79
 
80
  </div>
81
 
82
+ <p><?php esc_html_e('Did you find this plugin useful? Please support our work by purchasing the advanced version or write an article about this plugin in your blog with a link to our site', 'post-types-order') ?> <a href="https://www.nsp-code.com/" target="_blank"><strong>https://www.nsp-code.com/</strong></a>.</p>
83
+ <h4><?php esc_html_e('Did you know there is available an Advanced version of this plug-in?', 'post-types-order') ?> <a target="_blank" href="https://www.nsp-code.com/premium-plugins/wordpress-plugins/advanced-post-types-order/"><?php _e('Read more', 'post-types-order') ?></a></h4>
84
+ <p><?php esc_html_e('Check our', 'post-types-order') ?> <a target="_blank" href="https://wordpress.org/plugins/taxonomy-terms-order/">Category Order - Taxonomy Terms Order</a> <?php esc_html_e('plugin which allow to custom sort categories and custom taxonomies terms', 'post-types-order') ?> </p>
85
  <p><span style="color:#CC0000" class="dashicons dashicons-megaphone" alt="f488">&nbsp;</span> <?php esc_html_e('Check out', 'post-types-order') ?> <a href="https://wordpress.org/plugins/wp-hide-security-enhancer/" target="_blank"><b>WP Hide & Security Enhancer</b></a> <?php esc_html_e('the easy way to completely hide your WordPress core files, theme and plugins', 'post-types-order') ?>.</p>
86
 
87
  <div class="clear"></div>
include/class.options.php CHANGED
@@ -61,7 +61,6 @@
61
 
62
  ?>
63
  <div id="cpto" class="wrap">
64
- <div id="icon-settings" class="icon32"></div>
65
  <h2><?php esc_html_e('General Settings', 'post-types-order') ?></h2>
66
 
67
  <?php $this->CPTO->functions->cpt_info_box(); ?>
61
 
62
  ?>
63
  <div id="cpto" class="wrap">
 
64
  <h2><?php esc_html_e('General Settings', 'post-types-order') ?></h2>
65
 
66
  <?php $this->CPTO->functions->cpt_info_box(); ?>
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.6
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.7
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.7
7
- Stable tag: 1.9.5.6
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.6 =
98
  - Fix PHP implode() notice
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.8.1
7
+ Stable tag: 1.9.5.7
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.7 =
98
+ - Code cleanup
99
+ - WordPress 5.8.1 compatibility tag
100
+
101
  = 1.9.5.6 =
102
  - Fix PHP implode() notice
103