Version Description
- WordPress 4.8 compatibility notice
- Slight code changes, remove unused activate / deactivate hooks
- Updated po translation file
- Updated assets
Download this release
Release Info
Developer | nsp-code |
Plugin | Post Types Order |
Version | 1.9.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.9.3 to 1.9.3.1
- languages/post-types-order.mo +0 -0
- languages/post-types-order.po +75 -47
- post-types-order.php +3 -18
- readme.txt +14 -10
languages/post-types-order.mo
CHANGED
Binary file
|
languages/post-types-order.po
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Post Types Order\n"
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
-
"Last-Translator: NspCode <
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -13,151 +13,179 @@ msgstr ""
|
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"X-Poedit-SearchPath-0: .\n"
|
15 |
|
16 |
-
#:
|
17 |
msgid "Post Types Order must be configured. Please go to"
|
18 |
msgstr ""
|
19 |
|
20 |
-
#:
|
21 |
msgid "Settings Page"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#:
|
25 |
msgid "make the configuration and save"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#:
|
29 |
-
|
30 |
-
msgid "Use commas instead of %s to separate excluded terms."
|
31 |
-
msgstr ""
|
32 |
-
|
33 |
-
#: include/cpto-class.php:107 include/cpto-class.php:109
|
34 |
-
#: include/cpto-class.php:113 include/cpto-class.php:124
|
35 |
msgid "Re-Order"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: include/
|
39 |
msgid ""
|
40 |
"This plugin can't work without javascript, because it's use drag and drop "
|
41 |
"and AJAX."
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: include/
|
45 |
msgid "Update"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: include/
|
49 |
msgid "Items Order Updated"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: include/
|
53 |
-
msgid "Pages"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: include/functions.php:82
|
57 |
msgid ""
|
58 |
-
"Did you find this plugin useful? Please support our work
|
59 |
-
"write an article about this plugin in your blog with a
|
|
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: include/functions.php:
|
63 |
msgid "Did you know there is available an Advanced version of this plug-in?"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: include/functions.php:
|
67 |
msgid "Read more"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: include/functions.php:
|
71 |
msgid "Check our"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: include/functions.php:
|
75 |
msgid ""
|
76 |
"plugin which allow to custom sort categories and custom taxonomies terms"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: include/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
msgid "Settings Saved"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: include/options.php:
|
84 |
msgid "General Settings"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: include/options.php:
|
88 |
msgid "General"
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: include/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
msgid "Minimum Level to use this plugin"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: include/options.php:
|
96 |
msgid "Subscriber"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: include/options.php:
|
100 |
msgid "Contributor"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: include/options.php:
|
104 |
msgid "Author"
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: include/options.php:
|
108 |
msgid "Editor"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: include/options.php:
|
112 |
msgid "Administrator"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: include/options.php:
|
116 |
msgid "Auto Sort"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: include/options.php:
|
120 |
msgid ""
|
121 |
"If checked, the plug-in automatically update the WordPress queries to use "
|
122 |
"the new order (<b>No code update is necessarily</b>)"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: include/options.php:
|
126 |
msgid ""
|
127 |
"If only certain queries need to use the custom sort, keep this unchecked and "
|
128 |
"include 'orderby' => 'menu_order' into query parameters"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: include/options.php:
|
132 |
msgid "Additional Description and Examples"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: include/options.php:
|
136 |
msgid "Admin Sort"
|
137 |
msgstr ""
|
138 |
|
139 |
-
#: include/options.php:
|
140 |
msgid ""
|
141 |
"To affect the admin interface, to see the post types per your new sort, this "
|
142 |
"need to be checked"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: include/options.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
146 |
msgid "Next / Previous Apply"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: include/options.php:
|
150 |
msgid "Apply the sort on Next / Previous site-wide navigation."
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: include/options.php:
|
154 |
msgid "This can also be controlled through"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: include/options.php:
|
158 |
msgid "code"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: include/options.php:
|
162 |
msgid "Save Settings"
|
163 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Post Types Order\n"
|
4 |
+
"POT-Creation-Date: 2017-06-10 18:20+0200\n"
|
5 |
+
"PO-Revision-Date: 2017-06-10 18:20+0200\n"
|
6 |
+
"Last-Translator: NspCode <contact@nsp-code.com>\n"
|
7 |
"Language-Team: \n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
13 |
"X-Poedit-Basepath: ../\n"
|
14 |
"X-Poedit-SearchPath-0: .\n"
|
15 |
|
16 |
+
#: include/class.cpto.php:197
|
17 |
msgid "Post Types Order must be configured. Please go to"
|
18 |
msgstr ""
|
19 |
|
20 |
+
#: include/class.cpto.php:197
|
21 |
msgid "Settings Page"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: include/class.cpto.php:197
|
25 |
msgid "make the configuration and save"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: include/class.cpto.php:475 include/class.cpto.php:477
|
29 |
+
#: include/class.cpto.php:480 include/class.cpto.php:491
|
|
|
|
|
|
|
|
|
|
|
30 |
msgid "Re-Order"
|
31 |
msgstr ""
|
32 |
|
33 |
+
#: include/class.cpto.php:499
|
34 |
msgid ""
|
35 |
"This plugin can't work without javascript, because it's use drag and drop "
|
36 |
"and AJAX."
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: include/class.cpto.php:512
|
40 |
msgid "Update"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: include/class.cpto.php:533
|
44 |
msgid "Items Order Updated"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: include/class.functions.php:102
|
|
|
|
|
|
|
|
|
48 |
msgid ""
|
49 |
+
"Did you find this plugin useful? Please support our work by purchasing the "
|
50 |
+
"advanced version or write an article about this plugin in your blog with a "
|
51 |
+
"link to our site"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: include/class.functions.php:103
|
55 |
msgid "Did you know there is available an Advanced version of this plug-in?"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: include/class.functions.php:103
|
59 |
msgid "Read more"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: include/class.functions.php:104
|
63 |
msgid "Check our"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: include/class.functions.php:104
|
67 |
msgid ""
|
68 |
"plugin which allow to custom sort categories and custom taxonomies terms"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: include/class.functions.php:105
|
72 |
+
msgid "Check out"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: include/class.functions.php:105
|
76 |
+
msgid ""
|
77 |
+
"the easy way to completely hide your WordPress core files, theme and plugins"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: include/class.functions.php:140 include/class.functions.php:219
|
81 |
+
#, php-format
|
82 |
+
msgid "Use commas instead of %s to separate excluded terms."
|
83 |
+
msgstr ""
|
84 |
+
|
85 |
+
#: include/class.options.php:38
|
86 |
msgid "Settings Saved"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: include/class.options.php:55
|
90 |
msgid "General Settings"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: include/class.options.php:61
|
94 |
msgid "General"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: include/class.options.php:65
|
98 |
+
msgid "Show / Hide re-order interface"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: include/class.options.php:92
|
102 |
+
msgid "Show"
|
103 |
+
msgstr ""
|
104 |
+
|
105 |
+
#: include/class.options.php:93
|
106 |
+
msgid "Hide"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: include/class.options.php:100
|
110 |
msgid "Minimum Level to use this plugin"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: include/class.options.php:103
|
114 |
msgid "Subscriber"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: include/class.options.php:104
|
118 |
msgid "Contributor"
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: include/class.options.php:105
|
122 |
msgid "Author"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: include/class.options.php:106
|
126 |
msgid "Editor"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: include/class.options.php:107
|
130 |
msgid "Administrator"
|
131 |
msgstr ""
|
132 |
|
133 |
+
#: include/class.options.php:114
|
134 |
msgid "Auto Sort"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: include/class.options.php:116
|
138 |
msgid ""
|
139 |
"If checked, the plug-in automatically update the WordPress queries to use "
|
140 |
"the new order (<b>No code update is necessarily</b>)"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: include/class.options.php:117
|
144 |
msgid ""
|
145 |
"If only certain queries need to use the custom sort, keep this unchecked and "
|
146 |
"include 'orderby' => 'menu_order' into query parameters"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: include/class.options.php:119
|
150 |
msgid "Additional Description and Examples"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: include/class.options.php:126
|
154 |
msgid "Admin Sort"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: include/class.options.php:130
|
158 |
msgid ""
|
159 |
"To affect the admin interface, to see the post types per your new sort, this "
|
160 |
"need to be checked"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: include/class.options.php:135
|
164 |
+
msgid "Archive Drag&Drop "
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: include/class.options.php:139
|
168 |
+
msgid ""
|
169 |
+
"Allow sortable drag & drop functionality within default WordPress post type "
|
170 |
+
"archive. Admin Sort need to be active."
|
171 |
+
msgstr ""
|
172 |
+
|
173 |
+
#: include/class.options.php:144
|
174 |
msgid "Next / Previous Apply"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: include/class.options.php:148
|
178 |
msgid "Apply the sort on Next / Previous site-wide navigation."
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: include/class.options.php:148
|
182 |
msgid "This can also be controlled through"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: include/class.options.php:148
|
186 |
msgid "code"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: include/class.options.php:156
|
190 |
msgid "Save Settings"
|
191 |
msgstr ""
|
post-types-order.php
CHANGED
@@ -5,33 +5,18 @@ 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.3
|
9 |
Text Domain: post-types-order
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
13 |
define('CPTPATH', plugin_dir_path(__FILE__));
|
14 |
define('CPTURL', plugins_url('', __FILE__));
|
15 |
-
|
16 |
-
|
17 |
-
register_deactivation_hook(__FILE__, 'CPTO_deactivated');
|
18 |
-
register_activation_hook(__FILE__, 'CPTO_activated');
|
19 |
-
|
20 |
-
function CPTO_activated()
|
21 |
-
{
|
22 |
-
|
23 |
-
}
|
24 |
-
|
25 |
-
function CPTO_deactivated()
|
26 |
-
{
|
27 |
-
|
28 |
-
}
|
29 |
|
30 |
include_once(CPTPATH . '/include/class.cpto.php');
|
31 |
include_once(CPTPATH . '/include/class.functions.php');
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
add_action( 'plugins_loaded', 'cpto_class_load');
|
36 |
function cpto_class_load()
|
37 |
{
|
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.3.1
|
9 |
Text Domain: post-types-order
|
10 |
Domain Path: /languages/
|
11 |
*/
|
12 |
|
13 |
define('CPTPATH', plugin_dir_path(__FILE__));
|
14 |
define('CPTURL', plugins_url('', __FILE__));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
include_once(CPTPATH . '/include/class.cpto.php');
|
17 |
include_once(CPTPATH . '/include/class.functions.php');
|
18 |
+
|
19 |
+
|
|
|
20 |
add_action( 'plugins_loaded', 'cpto_class_load');
|
21 |
function cpto_class_load()
|
22 |
{
|
readme.txt
CHANGED
@@ -3,16 +3,14 @@ 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: 4.
|
7 |
-
Stable tag: 1.9.3
|
8 |
-
.
|
9 |
-
License: GPLv2 or later
|
10 |
|
11 |
Post Order and custom Post Type Objects (custom post types) using a Drag and Drop Sortable JavaScript AJAX interface or default WordPress dashboard.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
<strong>Over 2 MILLIONS DOWNLOADS and near PERFECT rating out of 150 REVIEWS</strong>. <br />
|
16 |
A powerful plugin, Order Posts and Post Types Objects using a Drag and Drop Sortable JavaScript capability.
|
17 |
|
18 |
The order can be customized within **default WordPress post type archive list page** or **a separate Re-Order interface** which display all objects.
|
@@ -95,17 +93,23 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
95 |
|
96 |
== Change Log ==
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
= 1.9.3 =
|
99 |
- Fix for custom post type objects per page when using default archive interface drag & drop sort
|
100 |
- Plugin code redo and re-structure
|
101 |
- Improved compatibility with other plugins
|
102 |
-
- Security
|
103 |
|
104 |
= 1.9 =
|
105 |
- Remove translations from the package
|
106 |
- Remove link for donate
|
107 |
- Wp Hide plugin availability notification
|
108 |
-
- New Filter pto/get_options to allow to
|
109 |
- New Filter pto/admin/plugin_options/capability to allow custom capability option to be inserted within html
|
110 |
|
111 |
= 1.8.9.2 =
|
@@ -135,7 +139,7 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
135 |
- New query argument ignore_custom_sort , to be used with Autosort. Ignore any customised sort and return posts in default order.
|
136 |
|
137 |
= 1.8.4.1 =
|
138 |
-
- Sortable interface styling
|
139 |
- Portuguese translation update - Pedro Mendonca - http://www.pedromendonca.pt
|
140 |
- Text doamin fix for few texts
|
141 |
|
@@ -181,7 +185,7 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
181 |
- Edit Gallery - image order fix
|
182 |
- "re-order" menu item allow translation
|
183 |
- Hungarian translation - Adam Laki - http://codeguide.hu/
|
184 |
-
- Minor admin style
|
185 |
|
186 |
= 1.6.5 =
|
187 |
- Updates/Fixes
|
@@ -228,7 +232,7 @@ Consider upgrading to our advanced version of this plugin at a very resonable pr
|
|
228 |
- Get Previous / Next Posts Update
|
229 |
|
230 |
= 1.4.3 =
|
231 |
-
- Small
|
232 |
|
233 |
= 1.4.1 =
|
234 |
- Re-Order Menu Item Appearance fix for update versions
|
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: 4.8
|
7 |
+
Stable tag: 1.9.3.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 |
|
11 |
== Description ==
|
12 |
|
13 |
+
<strong>Over 2.3 MILLIONS DOWNLOADS and near PERFECT rating out of 150 REVIEWS</strong>. <br />
|
14 |
A powerful plugin, Order Posts and Post Types Objects using a Drag and Drop Sortable JavaScript capability.
|
15 |
|
16 |
The order can be customized within **default WordPress post type archive list page** or **a separate Re-Order interface** which display all objects.
|
93 |
|
94 |
== Change Log ==
|
95 |
|
96 |
+
= 1.9.3.1 =
|
97 |
+
- WordPress 4.8 compatibility notice
|
98 |
+
- Slight code changes, remove unused activate / deactivate hooks
|
99 |
+
- Updated po translation file
|
100 |
+
- Updated assets
|
101 |
+
|
102 |
= 1.9.3 =
|
103 |
- Fix for custom post type objects per page when using default archive interface drag & drop sort
|
104 |
- Plugin code redo and re-structure
|
105 |
- Improved compatibility with other plugins
|
106 |
+
- Security improvements for AJAX order updates
|
107 |
|
108 |
= 1.9 =
|
109 |
- Remove translations from the package
|
110 |
- Remove link for donate
|
111 |
- Wp Hide plugin availability notification
|
112 |
+
- New Filter pto/get_options to allow to change default options; Custom capability can be set for 'capability'
|
113 |
- New Filter pto/admin/plugin_options/capability to allow custom capability option to be inserted within html
|
114 |
|
115 |
= 1.8.9.2 =
|
139 |
- New query argument ignore_custom_sort , to be used with Autosort. Ignore any customised sort and return posts in default order.
|
140 |
|
141 |
= 1.8.4.1 =
|
142 |
+
- Sortable interface styling improvements
|
143 |
- Portuguese translation update - Pedro Mendonca - http://www.pedromendonca.pt
|
144 |
- Text doamin fix for few texts
|
145 |
|
185 |
- Edit Gallery - image order fix
|
186 |
- "re-order" menu item allow translation
|
187 |
- Hungarian translation - Adam Laki - http://codeguide.hu/
|
188 |
+
- Minor admin style improvements
|
189 |
|
190 |
= 1.6.5 =
|
191 |
- Updates/Fixes
|
232 |
- Get Previous / Next Posts Update
|
233 |
|
234 |
= 1.4.3 =
|
235 |
+
- Small improvements
|
236 |
|
237 |
= 1.4.1 =
|
238 |
- Re-Order Menu Item Appearance fix for update versions
|