Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c3870bf9bc | |||
| 14032695af | |||
| 5e92d1a839 |
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://getcomposer.org/schema.json",
|
||||
"name": "cleverogre/ogre-sort",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"title": "Ogre Sort",
|
||||
"description": "WordPress plugin which enables drag-and-drop sorting within the admin area for posts, terms, and posts within terms.",
|
||||
"author": "CleverOgre",
|
||||
|
||||
+2
-1
@@ -4,7 +4,7 @@
|
||||
* @author cleverogre
|
||||
* @copyright 2025 CleverOgre
|
||||
* @license GLP-3.0-or-later
|
||||
* @version 1.1.2
|
||||
* @version 1.1.3
|
||||
* @since 1.0.0
|
||||
*/
|
||||
|
||||
@@ -792,6 +792,7 @@ final class Sort {
|
||||
]],
|
||||
'meta_key' => "ogre-sort_{$relationship['taxonomy']}_{$term_id}",
|
||||
'orderby' => 'meta_value_num',
|
||||
'order' => 'ASC',
|
||||
]);
|
||||
$posts = array_values(array_unique($posts));
|
||||
foreach ($posts as $i => $post_id) {
|
||||
|
||||
+2
-2
@@ -6,14 +6,14 @@
|
||||
* @author cleverogre
|
||||
* @copyright 2026 CleverOgre
|
||||
* @license GLP-3.0-or-later
|
||||
* @version 1.1.2
|
||||
* @version 1.1.3
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @wordpress-plugin
|
||||
* Plugin Name: Ogre Sort
|
||||
* Plugin URI: https://plugins.cleverogre.com/plugin/ogre-sort/
|
||||
* Description: WordPress plugin which enables drag-and-drop sorting within the admin area for posts, terms, and posts within terms.
|
||||
* Version: 1.1.2
|
||||
* Version: 1.1.3
|
||||
* Requires at least: 5.0
|
||||
* Requires PHP: 8.0
|
||||
* Author: CleverOgre
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "https://www.schemastore.org/package.json",
|
||||
"name": "cleverogre/ogre-sort",
|
||||
"version": "1.1.2",
|
||||
"version": "1.1.3",
|
||||
"title": "Ogre Sort",
|
||||
"description": "WordPress plugin which enables drag-and-drop sorting within the admin area for posts, terms, and posts within terms.",
|
||||
"author": "CleverOgre",
|
||||
|
||||
+4
-1
@@ -3,7 +3,7 @@ Contributors: ogrecooper, cleverogre
|
||||
Tested up to: 6.8
|
||||
Requires at least: 5.0
|
||||
Requires PHP: 8.0
|
||||
Version: 1.1.2
|
||||
Version: 1.1.3
|
||||
License: GPLv3 or later
|
||||
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
Copyright: CleverOgre
|
||||
@@ -28,6 +28,9 @@ If you don't know what plugin you have downloaded, please contact [CleverOgre](t
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 1.1.3 - 2026-06-17 =
|
||||
* Fix posts order during refresh of term
|
||||
|
||||
= 1.1.2 - 2026-05-27 =
|
||||
* Fix minor deprecation warning when disabled
|
||||
* Improve query args modification with term relationships
|
||||
|
||||
Reference in New Issue
Block a user