Version Description
- Updated 2015-08-20 for WordPress 4.3
- Released 2015-04-24
- Added cache-busting when re-ordering
- Added German translation
- Ensuring WordPress 4.2 compatibility
Download this release
Release Info
| Developer | ronalfy |
| Plugin | |
| Version | 2.1.4 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.2 to 2.1.4
- class-reorder.php +2 -0
- index.php +3 -3
- languages/metronet-reorder-posts-de_DE.mo +0 -0
- languages/metronet-reorder-posts-de_DE.po +139 -0
- readme.txt +17 -4
class-reorder.php
CHANGED
|
@@ -250,6 +250,7 @@ final class MN_Reorder {
|
|
| 250 |
$wpdb->posts,
|
| 251 |
array( 'menu_order' => $post_menu_order, 'post_parent' => $post_parent ), array( 'ID' => $post_id )
|
| 252 |
);
|
|
|
|
| 253 |
$posts_to_exclude[] = $post_id;
|
| 254 |
}
|
| 255 |
|
|
@@ -284,6 +285,7 @@ final class MN_Reorder {
|
|
| 284 |
array( 'menu_order' => $start, 'post_parent' => $post_parent ),
|
| 285 |
array( 'ID' => $post->ID )
|
| 286 |
);
|
|
|
|
| 287 |
}
|
| 288 |
$posts_to_exclude[] = $post->ID;
|
| 289 |
$start++;
|
| 250 |
$wpdb->posts,
|
| 251 |
array( 'menu_order' => $post_menu_order, 'post_parent' => $post_parent ), array( 'ID' => $post_id )
|
| 252 |
);
|
| 253 |
+
clean_post_cache( $post_id );
|
| 254 |
$posts_to_exclude[] = $post_id;
|
| 255 |
}
|
| 256 |
|
| 285 |
array( 'menu_order' => $start, 'post_parent' => $post_parent ),
|
| 286 |
array( 'ID' => $post->ID )
|
| 287 |
);
|
| 288 |
+
clean_post_cache( $post );
|
| 289 |
}
|
| 290 |
$posts_to_exclude[] = $post->ID;
|
| 291 |
$start++;
|
index.php
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
<?php
|
| 2 |
/*
|
| 3 |
-
Plugin Name:
|
| 4 |
Plugin URI: https://wordpress.org/plugins/metronet-reorder-posts/
|
| 5 |
Description: Easily reorder posts and pages in WordPress
|
| 6 |
-
Version: 2.1.
|
| 7 |
Author: Ryan Hellyer, Ronald Huereca, Scott Basgaard
|
| 8 |
Author URI: https://github.com/ronalfy/reorder-posts
|
| 9 |
Text Domain: metronet-reorder-posts
|
|
@@ -50,7 +50,7 @@ require( 'class-reorder-admin.php' );
|
|
| 50 |
* @since 1.0
|
| 51 |
* @author Ryan Hellyer <ryan@metronet.no>
|
| 52 |
*/
|
| 53 |
-
define( 'REORDER_ALLOW_ADDONS', true ); //
|
| 54 |
define( 'REORDER_DIR', rtrim( plugin_dir_path(__FILE__), '/' ) ); // Plugin folder DIR
|
| 55 |
define( 'REORDER_URL', rtrim( plugin_dir_url(__FILE__), '/' ) ); // Plugin folder URL
|
| 56 |
define( 'REORDER_BASENAME', plugin_basename(__FILE__) ); //Plugin basename
|
| 1 |
<?php
|
| 2 |
/*
|
| 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
|
| 50 |
* @since 1.0
|
| 51 |
* @author Ryan Hellyer <ryan@metronet.no>
|
| 52 |
*/
|
| 53 |
+
define( 'REORDER_ALLOW_ADDONS', true ); //Show support for add-ons
|
| 54 |
define( 'REORDER_DIR', rtrim( plugin_dir_path(__FILE__), '/' ) ); // Plugin folder DIR
|
| 55 |
define( 'REORDER_URL', rtrim( plugin_dir_url(__FILE__), '/' ) ); // Plugin folder URL
|
| 56 |
define( 'REORDER_BASENAME', plugin_basename(__FILE__) ); //Plugin basename
|
languages/metronet-reorder-posts-de_DE.mo
ADDED
|
Binary file
|
languages/metronet-reorder-posts-de_DE.po
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
| 8 |
+
"Language-Team: \n"
|
| 9 |
+
"Language: de_DE\n"
|
| 10 |
+
"MIME-Version: 1.0\n"
|
| 11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 13 |
+
"X-Generator: Poedit 1.7.5\n"
|
| 14 |
+
"X-Poedit-Basepath: .\n"
|
| 15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\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 "Reorder Posts"
|
| 21 |
+
|
| 22 |
+
#: class-reorder-admin.php:82
|
| 23 |
+
msgctxt "Plugin Name - Menu Item"
|
| 24 |
+
msgid "Reorder Posts"
|
| 25 |
+
msgstr "Reorder Posts"
|
| 26 |
+
|
| 27 |
+
#: class-reorder-admin.php:123
|
| 28 |
+
msgid "Sort by:"
|
| 29 |
+
msgstr "Sortieren nach:"
|
| 30 |
+
|
| 31 |
+
#: class-reorder-admin.php:125
|
| 32 |
+
msgid "None"
|
| 33 |
+
msgstr "Nichts"
|
| 34 |
+
|
| 35 |
+
#: class-reorder-admin.php:126
|
| 36 |
+
msgid "Menu Order"
|
| 37 |
+
msgstr "Menüreihenfolge"
|
| 38 |
+
|
| 39 |
+
#: class-reorder-admin.php:132
|
| 40 |
+
msgid "Sort Order:"
|
| 41 |
+
msgstr "Sortierreihenfolge"
|
| 42 |
+
|
| 43 |
+
#: class-reorder-admin.php:134
|
| 44 |
+
msgid "ASC"
|
| 45 |
+
msgstr "Auftsteigend (Grösstes Element zuletzt)"
|
| 46 |
+
|
| 47 |
+
#: class-reorder-admin.php:135
|
| 48 |
+
msgid "DESC"
|
| 49 |
+
msgstr "Absteigend (Grösstes Element zuerst)"
|
| 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 |
+
"Dies sind erweiterte Optionen welche Sie nur ändern sollten, wenn Sie wissen "
|
| 59 |
+
"was Sie tun. Dies können die Menüreihenfolge von eigenen Queries "
|
| 60 |
+
"(get_posts() oder WP_Query), Archiven eigener Post Typen und sogar die "
|
| 61 |
+
"Reihenfolge der Blogeinträge ändern."
|
| 62 |
+
|
| 63 |
+
#: class-reorder-admin.php:201
|
| 64 |
+
msgctxt "Plugin settings link on the plugins page"
|
| 65 |
+
msgid "Settings"
|
| 66 |
+
msgstr "Einstellungen"
|
| 67 |
+
|
| 68 |
+
#: class-reorder-admin.php:251
|
| 69 |
+
msgctxt "plugin settings heading"
|
| 70 |
+
msgid "Enable Post Types"
|
| 71 |
+
msgstr "Für folgende Posttypen aktivieren"
|
| 72 |
+
|
| 73 |
+
#: class-reorder-admin.php:253
|
| 74 |
+
msgctxt "plugin settings heading"
|
| 75 |
+
msgid "Advanced"
|
| 76 |
+
msgstr "Erweiterte Einstellungen"
|
| 77 |
+
|
| 78 |
+
#: class-reorder-admin.php:255
|
| 79 |
+
msgid "Post Types"
|
| 80 |
+
msgstr "Posttypen"
|
| 81 |
+
|
| 82 |
+
#: class-reorder-admin.php:255
|
| 83 |
+
msgid "Select the post types you would like this plugin enabled for."
|
| 84 |
+
msgstr ""
|
| 85 |
+
"Wählen Sie die Posttypen an, für welche dieses Plugin einen Menüeintrag "
|
| 86 |
+
"anzeigen soll."
|
| 87 |
+
|
| 88 |
+
#: class-reorder-admin.php:257
|
| 89 |
+
msgid "Select the menu order arguments."
|
| 90 |
+
msgstr "Wählen Sie die Argumente für Menüreihenfolge."
|
| 91 |
+
|
| 92 |
+
#: class-reorder-admin.php:257
|
| 93 |
+
msgid "Select the menu order for the post types."
|
| 94 |
+
msgstr "Wählen Sie die Reihenfolge für die Posttypen an."
|
| 95 |
+
|
| 96 |
+
#: class-reorder.php:161 class-reorder.php:165 index.php:97
|
| 97 |
+
msgid "Reorder"
|
| 98 |
+
msgstr "Neu anordnen"
|
| 99 |
+
|
| 100 |
+
#: class-reorder.php:319 class-reorder.php:462
|
| 101 |
+
msgid "Expand"
|
| 102 |
+
msgstr "Öffnen"
|
| 103 |
+
|
| 104 |
+
#: class-reorder.php:320
|
| 105 |
+
msgid "Collapse"
|
| 106 |
+
msgstr "Schliessen"
|
| 107 |
+
|
| 108 |
+
#: class-reorder.php:376
|
| 109 |
+
#, php-format
|
| 110 |
+
msgid ""
|
| 111 |
+
"There are over %s posts found. We do not recommend you sort these posts for "
|
| 112 |
+
"performance reasons."
|
| 113 |
+
msgstr ""
|
| 114 |
+
"Es wurden über %s Posts gefunden. Wir empfehlen Ihnen aus Performance "
|
| 115 |
+
"Gründen dieses Posts nicht zu sortieren."
|
| 116 |
+
|
| 117 |
+
#: class-reorder.php:383
|
| 118 |
+
#, php-format
|
| 119 |
+
msgid ""
|
| 120 |
+
"Note: reordering here does not change the order on your website without "
|
| 121 |
+
"some code modifications. Please see our <a target=\"_blank\" href=\"%s"
|
| 122 |
+
"\">Wiki</a>."
|
| 123 |
+
msgstr ""
|
| 124 |
+
"Notitz: Ohne Modifikationen an Ihrem Code wird das Neuanordnen nicht die "
|
| 125 |
+
"Reihenfolge der Posts auf ihrer Webseite ändern. Bitte sehen Sie in unserem "
|
| 126 |
+
"<a target=\"_blank\" href=\"%s\">Wiki</a> nach."
|
| 127 |
+
|
| 128 |
+
#: class-reorder.php:431
|
| 129 |
+
msgid "There is nothing to sort at this time"
|
| 130 |
+
msgstr "Es gibt hier im Moment nichts zu sortieren."
|
| 131 |
+
|
| 132 |
+
#: index.php:87
|
| 133 |
+
msgid "Posts"
|
| 134 |
+
msgstr "Posts"
|
| 135 |
+
|
| 136 |
+
#: index.php:88
|
| 137 |
+
#, php-format
|
| 138 |
+
msgid "Reorder %s"
|
| 139 |
+
msgstr "%s neu anordnen"
|
readme.txt
CHANGED
|
@@ -3,9 +3,9 @@ Contributors: ryanhellyer, metronet, ronalfy, scottbasgaard
|
|
| 3 |
Author URI: https://github.com/ronalfy/reorder-posts
|
| 4 |
Plugin URL: https://wordpress.org/plugins/metronet-reorder-posts/
|
| 5 |
Requires at Least: 3.7
|
| 6 |
-
Tested up to: 4.
|
| 7 |
Tags: reorder, re-order, posts, wordpress, post-type, ajax, admin, hierarchical, menu_order, ordering
|
| 8 |
-
Stable tag: 2.1.
|
| 9 |
License: GPLv3 or later
|
| 10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
| 11 |
|
|
@@ -33,7 +33,10 @@ We consider Reorder Posts a <strong>developer tool</strong>. If you do not know
|
|
| 33 |
If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something :)
|
| 34 |
|
| 35 |
<h3>Translations</h3>
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
If you would like to contribute a translation, please leave a support request with a link to your translation.
|
| 39 |
|
|
@@ -120,6 +123,13 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
|
|
| 120 |
|
| 121 |
== Changelog ==
|
| 122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 123 |
= 2.1.2 =
|
| 124 |
* Released 2015-01-28
|
| 125 |
* Removed developer notice from Reorder pages
|
|
@@ -192,6 +202,9 @@ No, but there is an add-on for this plugin called <a href="https://wordpress.org
|
|
| 192 |
|
| 193 |
== Upgrade Notice ==
|
| 194 |
|
|
|
|
|
|
|
|
|
|
| 195 |
= 2.1.2 =
|
| 196 |
Removed developer notice from Reorder pages
|
| 197 |
|
|
@@ -199,4 +212,4 @@ Removed developer notice from Reorder pages
|
|
| 199 |
Fixed pagination issue. Improved Reorder save query performance significantly
|
| 200 |
|
| 201 |
= 2.1.0 =
|
| 202 |
-
Some capability fixes, pagination for post types with a lot of posts, improved query performance, and add-on capability.
|
| 3 |
Author URI: https://github.com/ronalfy/reorder-posts
|
| 4 |
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 |
|
| 33 |
If you like this plugin, please help spread the word. Rate the plugin. Write about the plugin. Something :)
|
| 34 |
|
| 35 |
<h3>Translations</h3>
|
| 36 |
+
|
| 37 |
+
<ul>
|
| 38 |
+
<li>German</li>
|
| 39 |
+
</ul>
|
| 40 |
|
| 41 |
If you would like to contribute a translation, please leave a support request with a link to your translation.
|
| 42 |
|
| 123 |
|
| 124 |
== Changelog ==
|
| 125 |
|
| 126 |
+
= 2.1.4 =
|
| 127 |
+
* Updated 2015-08-20 for WordPress 4.3
|
| 128 |
+
* Released 2015-04-24
|
| 129 |
+
* Added cache-busting when re-ordering
|
| 130 |
+
* Added German translation
|
| 131 |
+
* Ensuring WordPress 4.2 compatibility
|
| 132 |
+
|
| 133 |
= 2.1.2 =
|
| 134 |
* Released 2015-01-28
|
| 135 |
* Removed developer notice from Reorder pages
|
| 202 |
|
| 203 |
== Upgrade Notice ==
|
| 204 |
|
| 205 |
+
= 2.1.4 =
|
| 206 |
+
Added cache-busting when re-ordering
|
| 207 |
+
|
| 208 |
= 2.1.2 =
|
| 209 |
Removed developer notice from Reorder pages
|
| 210 |
|
| 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.
|
