fixes #2490 add merge_tags notification trigger

A trigger_notify call for 'merge_tags' was added before deleting tags in the tag merge process. This allows plugins or extensions to react to tag merges.
This commit is contained in:
Linty
2025-12-22 16:22:14 +01:00
parent 2526d4a911
commit 91088bbec9
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -508,6 +508,7 @@ SELECT image_id
include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
trigger_notify('merge_tags', $params['destination_tag_id'], $merge_tag);
delete_tags($merge_tag);
$image_in_merged = array_merge($image_in_dest, $image_to_add);