Skip to content

Commit 0b2371a

Browse files
authored
Merge pull request #17 from soderlind/feature/addon-shell-ui
Feature/addon shell UI
2 parents 3f0260e + b423363 commit 0b2371a

5 files changed

Lines changed: 30 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ 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.5.0] - 2026-02-07
9+
10+
### Fixed
11+
12+
- Renamed generic `vmfa-settings` script handle to `vmfa-editorial-workflow-settings`
13+
- Prevents script/style handle collisions with other add-ons
14+
15+
### Changed
16+
17+
- Improved cross-plugin compatibility by using unique asset handles
18+
819
## [1.4.0] - 2026-01-26
920

1021
### Added

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vmfa-editorial-workflow",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "Role-based folder access, move restrictions, and Inbox workflow for Virtual Media Folders.",
55
"author": "Per Soderlind",
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 12 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: 6.9
66
Requires PHP: 8.3
7-
Stable tag: 1.4.0
7+
Stable tag: 1.5.0
88
License: GPL-2.0-or-later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

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

9696
== Changelog ==
9797

98+
= 1.5.0 =
99+
100+
**Fixed**
101+
102+
* Renamed generic `vmfa-settings` script handle to `vmfa-editorial-workflow-settings`
103+
* Prevents script/style handle collisions with other add-ons
104+
105+
**Changed**
106+
107+
* Improved cross-plugin compatibility by using unique asset handles
108+
98109
= 1.4.0 =
99110

100111
**Added**

src/php/Admin/SettingsTab.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,28 +82,28 @@ public function enqueue_assets( string $active_tab, string $active_subtab ): voi
8282
];
8383

8484
wp_enqueue_style(
85-
'vmfa-settings',
85+
'vmfa-editorial-workflow-settings',
8686
VMFA_EDITORIAL_WORKFLOW_URL . 'build/settings.css',
8787
[ 'wp-components' ],
8888
$asset[ 'version' ]
8989
);
9090

9191
wp_enqueue_script(
92-
'vmfa-settings',
92+
'vmfa-editorial-workflow-settings',
9393
VMFA_EDITORIAL_WORKFLOW_URL . 'build/settings.js',
9494
$asset[ 'dependencies' ],
9595
$asset[ 'version' ],
9696
true
9797
);
9898

9999
wp_set_script_translations(
100-
'vmfa-settings',
100+
'vmfa-editorial-workflow-settings',
101101
'vmfa-editorial-workflow',
102102
VMFA_EDITORIAL_WORKFLOW_PATH . 'languages'
103103
);
104104

105105
wp_localize_script(
106-
'vmfa-settings',
106+
'vmfa-editorial-workflow-settings',
107107
'vmfaSettings',
108108
[
109109
'restUrl' => rest_url( 'vmfa-editorial/v1' ),

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.4.0
6+
* Version: 1.5.0
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.4.0' );
29+
define( 'VMFA_EDITORIAL_WORKFLOW_VERSION', '1.5.0' );
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)