[wp-trac] [WordPress Trac] #62461: If a post has 2 term tags children's and kid+ and from all terms we have children's, kid and kid+, when the post/tags is saved, kid+ is saved as kid
WordPress Trac
noreply at wordpress.org
Tue Nov 19 07:30:21 UTC 2024
#62461: If a post has 2 term tags children's and kid+ and from all terms we have
children's, kid and kid+, when the post/tags is saved, kid+ is saved as kid
-------------------------------------------------+-------------------------
Reporter: frankakot1 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Posts, Post Types | Version: 6.6
Severity: normal | Resolution:
Keywords: needs-patch changes-requested has- | Focuses:
screenshots has-testing-info |
-------------------------------------------------+-------------------------
Changes (by abcd95):
* keywords: needs-patch changes-requested => needs-patch changes-requested
has-screenshots has-testing-info
Comment:
Hey @frankakot1, Welcome to Trac, and thanks for bringing this up.
I was able to reproduce this. Here is the report:
This is a bug specific to WordPress 6.6.x where tags with special
characters are incorrectly matched during post save.
Steps to Reproduce:
1. Install WordPress 6.6
2. Create three tags:
* "kid+" (becomes slug: kid-plus)
* "kid" (becomes slug: kid)
* "children's" (becomes slug: childrens)
3. Create a new post
4. Add tags "kid+" and "children's"
5. Save post
6. Check tags - "kid+" becomes "kid"
Expected: The post should keep "kid+" and "children's" tags
Actual: "kid+" is saved as "kid"
However, this has been fixed in the later versions after 6.6.
** Screenshots **
[[Image(https://postimg.cc/tZHsNL41)]]
[[Image(https://postimg.cc/Fdqn6gwJ)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62461#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list