[wp-trac] [WordPress Trac] #55358: Passing int term term_exists parent param not respected

WordPress Trac noreply at wordpress.org
Sat Aug 2 14:41:12 UTC 2025


#55358: Passing int term term_exists parent param not respected
-----------------------------------------------------+---------------------
 Reporter:  spacedmonkey                             |       Owner:  (none)
     Type:  defect (bug)                             |      Status:  new
 Priority:  normal                                   |   Milestone:  6.9
Component:  Taxonomy                                 |     Version:
 Severity:  normal                                   |  Resolution:
 Keywords:  good-first-bug has-patch has-unit-tests  |     Focuses:
-----------------------------------------------------+---------------------
Changes (by sachinrajcp123):

 * Attachment "55358-term_exists-parent-param.patch" added.

 Makes term_exists() respect the $parent parameter ✅ Ensures accurate
 checks for terms under different parents ✅ Prevents false “term already
 exists” errors in hierarchical taxonomies ✅ Improves reliability for
 wp_insert_term() and related functions

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55358>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list