Skip to content

Commit c661fd8

Browse files
authored
Merge pull request #28 from soderlind/rename/menu-names
Rename menu to VMF Review, move to bottom (position 902)
2 parents baf07b7 + a078ad6 commit c661fd8

4 files changed

Lines changed: 19 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.8.1] - 2026-06-16
9+
10+
### Changed
11+
12+
- Renamed "Review" menu to "VMF Review" for consistency.
13+
- Moved VMF Review menu to bottom of Media submenu (position 902).
14+
815
## [1.8.0] - 2026-03-14
916

1017
### Changed

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: media, folders, workflow, editorial, permissions
44
Requires at least: 6.8
55
Tested up to: 7.0
66
Requires PHP: 8.3
7-
Stable tag: 1.8.0
7+
Stable tag: 1.8.1
88
License: GPL-2.0-or-later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -95,6 +95,10 @@ Existing media is not affected. The workflow only applies to new uploads and exp
9595

9696
== Changelog ==
9797

98+
= 1.8.1 =
99+
* Changed: Renamed "Review" menu to "VMF Review" for consistency.
100+
* Changed: Moved VMF Review menu to bottom of Media submenu.
101+
98102
= 1.8.0 =
99103
* Changed: Refactored Plugin class to extend VMF core `AbstractPlugin` base class
100104
* Changed: Refactored SettingsTab to extend `AbstractSettingsTab`

src/php/Admin/ReviewPage.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function add_menu_page(): void {
9595
}
9696

9797
$count = $this->workflow_state->get_review_count();
98-
$menu_title = __( 'Review', 'vmfa-editorial-workflow' );
98+
$menu_title = __( 'VMF Review', 'vmfa-editorial-workflow' );
9999

100100
// Add badge if items need review.
101101
if ( $count > 0 ) {
@@ -105,12 +105,14 @@ public function add_menu_page(): void {
105105
);
106106
}
107107

108-
add_media_page(
108+
add_submenu_page(
109+
'upload.php',
109110
__( 'Media Review', 'vmfa-editorial-workflow' ),
110111
$menu_title,
111112
$capability,
112113
self::PAGE_SLUG,
113-
[ $this, 'render_page' ]
114+
[ $this, 'render_page' ],
115+
902
114116
);
115117
}
116118

vmfa-editorial-workflow.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Virtual Media Folders - Editorial Workflow
44
* Plugin URI: https://github.com/soderlind/vmfa-editorial-workflow
55
* Description: Role-based folder access, move restrictions, and Inbox workflow for Virtual Media Folders.
6-
* Version: 1.8.0
6+
* Version: 1.8.1
77
* Requires at least: 6.8
88
* Requires PHP: 8.3
99
* Tested up to: 6.9
@@ -26,7 +26,7 @@
2626
defined( 'ABSPATH' ) || exit;
2727

2828
// Plugin constants.
29-
define( 'VMFA_EDITORIAL_WORKFLOW_VERSION', '1.8.0' );
29+
define( 'VMFA_EDITORIAL_WORKFLOW_VERSION', '1.8.1' );
3030
define( 'VMFA_EDITORIAL_WORKFLOW_FILE', __FILE__ );
3131
define( 'VMFA_EDITORIAL_WORKFLOW_PATH', plugin_dir_path( __FILE__ ) );
3232
define( 'VMFA_EDITORIAL_WORKFLOW_URL', plugin_dir_url( __FILE__ ) );

0 commit comments

Comments
 (0)