[wp-trac] [WordPress Trac] #47351: term_exists() needs to apply_filters('pre_term_name') to match wp_insert/update_term()

WordPress Trac noreply at wordpress.org
Wed May 22 20:12:18 UTC 2019


#47351: term_exists() needs to apply_filters('pre_term_name') to match
wp_insert/update_term()
---------------------------+------------------------------
 Reporter:  piklistuser23  |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Taxonomy       |     Version:  5.2.1
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+------------------------------

Comment (by piklistuser23):

 Actually, if it always appended the parent slug for child terms this issue
 would have been discovered much sooner because any nested terms would
 always fail the slug query test and many more would have tested the name
 comparison query code path.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47351#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list