[wp-trac] [WordPress Trac] #41631: Same Term Not Added
WordPress Trac
noreply at wordpress.org
Thu Jun 26 10:19:14 UTC 2025
#41631: Same Term Not Added
--------------------------------------+------------------------------
Reporter: vaprak | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 4.8
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch | Focuses: ui
--------------------------------------+------------------------------
Changes (by callumbw95):
* keywords: dev-feedback => dev-feedback needs-patch
* focuses: => ui
Comment:
Hi @vaprak,
I have taken a look into this in the latest release and can confirm that
this is still occurring as you outlined previously in version 4.8. I have
attached a bug report below outlining the steps I took, and hopefully we
can get more conversation around this, and a potential fix. I will also
have a look at getting a patch created for this shortly.
== Bug Report
=== Description
When adding a duplicated category to a post there is no notification or
confirmation that the term has been applied to the post.
=== Environment
- WordPress: 6.9-alpha-60093-src
- PHP: 8.4.7
- Server: nginx/1.27.5
- Database: mysqli (Server: 8.0.40 / Client: mysqlnd 8.4.7)
- Browser: Chrome 137.0.0.0
- OS: macOS
- Theme: Twenty Seventeen 3.9
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.0
=== Steps to Reproduce
1. Create a new post.
2. Add a new category term in sidebar, for example "test". This will be
applied upon creation to the post.
3. Create a second new category with the same term name.
x. 🐞 Bug occurs, and whilst the term is technically applied, because it
is the same as the previous term there is no confirmation of this
happening, or a notice to say that a new term could not be created with
the same name as an already existing term.
=== Expected Results
1. If the term is applied to the post already the duplicated term should
not be created and a notice saying that the term could not be created.
2. If the term is not already attached to the post it should attach the
correct term to the post.
=== Actual Results
1. If the the term is applied to the post already nothing happens after
submitting the duplicate term.
2. If the term is not already attached to the post it should attach the
correct term to the post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41631#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list