3 Commits

Author SHA1 Message Date
Cooper Dalrymple
063c4a6ed6 Push to version 1.1.1 2026-03-03 14:11:11 -06:00
b3233a13b9 Merge pull request 'Add Slugs to Admin UI' (#3) from admin-taxonomy-name into main
Reviewed-on: #3
2026-03-03 20:04:56 +00:00
Cooper Dalrymple
fe1ff96dbc Add name slugs to admin ui 2026-03-03 14:02:49 -06:00
5 changed files with 15 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "cleverogre/ogre-sort",
"version": "1.1.0",
"version": "1.1.1",
"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",

View File

@@ -2,9 +2,9 @@
/**
* @package ogre-sort
* @author cleverogre
* @copyright 2025 CleverOgre
* @copyright 2026 CleverOgre
* @license GLP-3.0-or-later
* @version 1.0.0
* @version 1.1.1
* @since 1.0.0
*/
@@ -196,12 +196,13 @@ final class Settings {
echo implode('<br>', array_map(
fn (object $option):string => sprintf(
'<label><input type="checkbox" name="%s[%s][]" value="%s" %s>&nbsp;%s</label>',
'<label><input type="checkbox" name="%s[%s][]" value="%s" %s>&nbsp;%s (%s)</label>',
esc_attr(Plugin::get_id()),
esc_attr($name),
esc_attr($option->name),
checked($this->is_checked($name, $option->name), display: false),
esc_html($option->label)
esc_html($option->label),
esc_html($option->name)
),
$options
));

View File

@@ -4,16 +4,16 @@
*
* @package ogre-sort
* @author cleverogre
* @copyright 2025 CleverOgre
* @copyright 2026 CleverOgre
* @license GLP-3.0-or-later
* @version 1.1.0
* @version 1.1.1
* @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.0
* Version: 1.1.1
* Requires at least: 5.0
* Requires PHP: 8.0
* Author: CleverOgre

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://www.schemastore.org/package.json",
"name": "cleverogre/ogre-sort",
"version": "1.1.0",
"version": "1.1.1",
"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",

View File

@@ -3,7 +3,7 @@ Contributors: ogrecooper, cleverogre
Tested up to: 6.8
Requires at least: 5.0
Requires PHP: 8.0
Version: 1.1.0
Version: 1.1.1
License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Copyright: CleverOgre
@@ -28,6 +28,10 @@ If you don't know what plugin you have downloaded, please contact [CleverOgre](t
== Changelog ==
= 1.1.1 - 2026-02-03 =
* Add name slugs to admin UI
* Fix undefined array key notice
= 1.1.0 - 2026-01-21 =
* Add manual refresh action
* Fix filtering issue during refresh