[wp-trac] [WordPress Trac] #54840: wp_insert_term sanitizes attribute names, while term_exists does not before checking names

WordPress Trac noreply at wordpress.org
Mon Apr 18 15:17:19 UTC 2022


#54840: wp_insert_term sanitizes attribute names, while term_exists does not before
checking names
-------------------------------------------------+-------------------------
 Reporter:  Dekadinious                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.0
Component:  Taxonomy                             |     Version:  5.8.2
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing has-testing-info                       |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 This particular issue appears to have been resolved by [52921]. In my
 testing, the term ID is returned now. Closing this ticket as `fixed`.

 With regards to [https://core.trac.wordpress.org/ticket/54840#comment:5
 this comment], if an issue exists in `get_terms()`, this should be handled
 in a separate ticket.

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


More information about the wp-trac mailing list