Hello,
You should avoid to register a Taxonomy named tags
since it will create a collision with the native edit-tags
WordPress admin screen.
When using a taxonomy named tags
, you’ll get the following PHP notice when creating a new term, since WordPress cannot correctly recognize the taxonomy name:
PHP Notice: Trying to get property 'term_id' of non-object in \wp-admin\includes\class-wp-terms-list-table.php on line 432
PHP Notice: Trying to get property 'name' of non-object in \wp-admin\includes\class-wp-terms-list-table.php on line 433
PHP Notice: Trying to get property 'slug' of non-object in \wp-admin\includes\class-wp-terms-list-table.php on line 436
PHP Notice: Trying to get property 'parent' of non-object in \wp-admin\includes\class-wp-terms-list-table.php on line 437
Those errors can be reproduced using a fresh & blank WP Install without ACF and without ACF Extended.
The problem with the Enhanced UI from ACF Extended is just an extension of this native WordPress issue, since metaboxes aren’t correctly recognized, and thus the sidebar cannot be correctly generated. To see the error, you have to enable the WP_DEBUG
& WP_DEBUG_LOG
(see documentation) since it is thrown during the ajax request when creating a new term.
Using a taxonomy tag
seems to work correctly since there is no admin screen id called edit-tag
, and thus no collision. But tag
is also listed as a Reserved Term so I would recommend to not use it either.
You can create a Core Trac Ticket about that issue, but I’m afraid that tags
will be simply added to the WP Reserved Terms.
Hope it helps!
Regards.