Reorder Posts - Version 2.1.5

Version Description

  • Released 2015-10-02
  • Fixing paging offset error in the backend.
Download this release

Release Info

Developer ronalfy
Plugin Icon 128x128 Reorder Posts
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

class-reorder.php CHANGED
@@ -394,7 +394,7 @@ final class MN_Reorder {
394
  <?php
395
  //Output non hierarchical posts
396
  $page = isset( $_GET[ 'paged' ] ) ? absint( $_GET[ 'paged' ] ) : 0;
397
- if ( $page == 0 ) {
398
  $offset = 0;
399
  } elseif ( $page > 1 ) {
400
  $offset = $this->offset * ( $page - 1 );
394
  <?php
395
  //Output non hierarchical posts
396
  $page = isset( $_GET[ 'paged' ] ) ? absint( $_GET[ 'paged' ] ) : 0;
397
+ if ( $page == 0 || $page = 1 ) {
398
  $offset = 0;
399
  } elseif ( $page > 1 ) {
400
  $offset = $this->offset * ( $page - 1 );
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Reorder Posts
4
  Plugin URI: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Description: Easily reorder posts and pages in WordPress
6
- Version: 2.1.4
7
  Author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
8
  Author URI: https://github.com/ronalfy/reorder-posts
9
  Text Domain: metronet-reorder-posts
3
  Plugin Name: Reorder Posts
4
  Plugin URI: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Description: Easily reorder posts and pages in WordPress
6
+ Version: 2.1.5
7
  Author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
8
  Author URI: https://github.com/ronalfy/reorder-posts
9
  Text Domain: metronet-reorder-posts
languages/metronet-reorder-posts-fr_FR.mo ADDED
Binary file
languages/metronet-reorder-posts-fr_FR.po ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "Report-Msgid-Bugs-To: Ronald Huereca <ronalfy@gmail.com>\n"
5
+ "POT-Creation-Date: 2015-01-19 19:30-0600\n"
6
+ "PO-Revision-Date: 2015-06-10 16:38+0100\n"
7
+ "Last-Translator: Nico Hauser <me@tyratox.ch>\n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.8.1\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15
+ "Language: fr_FR\n"
16
+
17
+ #: class-reorder-admin.php:82 class-reorder-admin.php:360
18
+ msgctxt "Plugin Name - Settings Page Title"
19
+ msgid "Reorder Posts"
20
+ msgstr ""
21
+
22
+ #: class-reorder-admin.php:82
23
+ msgctxt "Plugin Name - Menu Item"
24
+ msgid "Reorder Posts"
25
+ msgstr ""
26
+
27
+ #: class-reorder-admin.php:123
28
+ msgid "Sort by:"
29
+ msgstr ""
30
+
31
+ #: class-reorder-admin.php:125
32
+ msgid "None"
33
+ msgstr ""
34
+
35
+ #: class-reorder-admin.php:126
36
+ msgid "Menu Order"
37
+ msgstr ""
38
+
39
+ #: class-reorder-admin.php:132
40
+ msgid "Sort Order:"
41
+ msgstr ""
42
+
43
+ #: class-reorder-admin.php:134
44
+ msgid "ASC"
45
+ msgstr ""
46
+
47
+ #: class-reorder-admin.php:135
48
+ msgid "DESC"
49
+ msgstr ""
50
+
51
+ #: class-reorder-admin.php:185
52
+ msgid ""
53
+ "These are advanced options and you should only use these if you know what "
54
+ "you are doing. These can overwrite the menu orders of custom queries (using "
55
+ "get_posts or WP_Query), custom post type archives, and even the order your "
56
+ "blog posts display."
57
+ msgstr ""
58
+
59
+ #: class-reorder-admin.php:201
60
+ msgctxt "Plugin settings link on the plugins page"
61
+ msgid "Settings"
62
+ msgstr ""
63
+
64
+ #: class-reorder-admin.php:251
65
+ msgctxt "plugin settings heading"
66
+ msgid "Enable Post Types"
67
+ msgstr ""
68
+
69
+ #: class-reorder-admin.php:253
70
+ msgctxt "plugin settings heading"
71
+ msgid "Advanced"
72
+ msgstr ""
73
+
74
+ #: class-reorder-admin.php:255
75
+ msgid "Post Types"
76
+ msgstr ""
77
+
78
+ #: class-reorder-admin.php:255
79
+ msgid "Select the post types you would like this plugin enabled for."
80
+ msgstr ""
81
+
82
+ #: class-reorder-admin.php:257
83
+ msgid "Select the menu order arguments."
84
+ msgstr ""
85
+
86
+ #: class-reorder-admin.php:257
87
+ msgid "Select the menu order for the post types."
88
+ msgstr ""
89
+
90
+ #: class-reorder.php:161 class-reorder.php:165 index.php:97
91
+ msgid "Reorder"
92
+ msgstr "Réorganiser"
93
+
94
+ #: class-reorder.php:319 class-reorder.php:462
95
+ msgid "Expand"
96
+ msgstr ""
97
+
98
+ #: class-reorder.php:320
99
+ msgid "Collapse"
100
+ msgstr ""
101
+
102
+ #: class-reorder.php:376
103
+ #, php-format
104
+ msgid ""
105
+ "There are over %s posts found. We do not recommend you sort these posts for "
106
+ "performance reasons."
107
+ msgstr ""
108
+
109
+ #: class-reorder.php:383
110
+ #, php-format
111
+ msgid ""
112
+ "Note: reordering here does not change the order on your website without "
113
+ "some code modifications. Please see our <a target=\"_blank\" href=\"%s"
114
+ "\">Wiki</a>."
115
+ msgstr ""
116
+
117
+ #: class-reorder.php:431
118
+ msgid "There is nothing to sort at this time"
119
+ msgstr ""
120
+
121
+ #: index.php:87
122
+ msgid "Posts"
123
+ msgstr ""
124
+
125
+ #: index.php:88
126
+ #, php-format
127
+ msgid "Reorder %s"
128
+ msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ Plugin URL: https://wordpress.org/plugins/metronet-reorder-posts/
5
  Requires at Least: 3.7
6
  Tested up to: 4.3
7
  Tags: reorder, re-order, posts, wordpress, post-type, ajax, admin, hierarchical, menu_order, ordering
8
- Stable tag: 2.1.4
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -123,6 +123,11 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
123
 
124
  == Changelog ==
125
 
 
 
 
 
 
126
  = 2.1.4 =
127
  * Updated 2015-08-20 for WordPress 4.3
128
  * Released 2015-04-24
@@ -202,6 +207,9 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
202
 
203
  == Upgrade Notice ==
204
 
 
 
 
205
  = 2.1.4 =
206
  Added cache-busting when re-ordering
207
 
@@ -212,4 +220,4 @@ Removed developer notice from Reorder pages
212
  Fixed pagination issue. Improved Reorder save query performance significantly
213
 
214
  = 2.1.0 =
215
- Some capability fixes, pagination for post types with a lot of posts, improved query performance, and add-on capability.
5
  Requires at Least: 3.7
6
  Tested up to: 4.3
7
  Tags: reorder, re-order, posts, wordpress, post-type, ajax, admin, hierarchical, menu_order, ordering
8
+ Stable tag: 2.1.5
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
123
 
124
  == Changelog ==
125
 
126
+ = 2.1.5 =
127
+
128
+ * Released 2015-10-02
129
+ * Fixing paging offset error in the backend.
130
+
131
  = 2.1.4 =
132
  * Updated 2015-08-20 for WordPress 4.3
133
  * Released 2015-04-24
207
 
208
  == Upgrade Notice ==
209
 
210
+ = 2.1.5 =
211
+ Fixing paging offset error in the backend.
212
+
213
  = 2.1.4 =
214
  Added cache-busting when re-ordering
215
 
220
  Fixed pagination issue. Improved Reorder save query performance significantly
221
 
222
  = 2.1.0 =
223
+ Some capability fixes, pagination for post types with a lot of posts, improved query performance, and add-on capability.