diff --git a/src/core/Classes/Author_Editor.php b/src/core/Classes/Author_Editor.php index d35348f4..641230f7 100644 --- a/src/core/Classes/Author_Editor.php +++ b/src/core/Classes/Author_Editor.php @@ -830,7 +830,8 @@ public static function admin_notices() */ public static function filter_pre_insert_term($term, $taxonomy) { - if ($taxonomy === 'author' && !empty($_POST)) { + if ($taxonomy === 'author' && !empty($_POST['action']) && $_POST['action'] === 'add-tag') { + $legacyPlugin = Factory::getLegacyPlugin(); $author_id = (int)$_POST['authors-new']; $enable_guest_author_user = $legacyPlugin->modules->multiple_authors->options->enable_guest_author_user === 'yes';