[wp-trac] [WordPress Trac] #53756: Can’t Change Tags’ Letter Case
WordPress Trac
noreply at wordpress.org
Sun Nov 28 08:24:15 UTC 2021
#53756: Can’t Change Tags’ Letter Case
--------------------------+------------------------------
Reporter: pugs | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 5.8
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by Presskopp):
You can create a tag directly editing a post or you can create/edit them
in Posts/Tags. For every tag a slug is created, which will be all
lowercase by design. So for a tag "Denmark" the slug would be "denmark",
and if you then add a lowercase tag "denmark" the slug would be the same
and the tag won't be created therefore. In the post view, after a reload
newly created tags vanish (fail silently), which would be identical in
slug. In the tags view, an error will be given "A term with the name
provided already exists in this taxonomy." in this case.
So the tag will "survive" which was created at first, the name can then be
lower or uppercase.
In other words: Only the name can be uppercase, but not the slug. Tags
with the same slug will be dropped.
We could consider to throw the error mentioned above also in the post edit
screen instead of just silenty fail.
Still for me this is no bug, but a "wontfix" and/or "worksforme"
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53756#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list