[wp-trac] [WordPress Trac] #58329: Double sanitization in get_term function

WordPress Trac noreply at wordpress.org
Thu Oct 19 16:20:32 UTC 2023


#58329: Double sanitization in get_term function
----------------------------+---------------------------
 Reporter:  spacedmonkey    |       Owner:  spacedmonkey
     Type:  enhancement     |      Status:  closed
 Priority:  normal          |   Milestone:  6.4
Component:  Taxonomy        |     Version:
 Severity:  normal          |  Resolution:  fixed
 Keywords:  needs-dev-note  |     Focuses:  performance
----------------------------+---------------------------
Changes (by webcommsat):

 * keywords:  has-patch needs-dev-note => needs-dev-note


Comment:

 The following has been added to the Field Guide performance section based
 on the commit message in comment 22. We could not find this changed
 reference in the other mixed dev notes relating to performance. Please add
 any future dev note on this to the [documentation tracking
 ticket]https://github.com/WordPress/Documentation-Issue-
 Tracker/issues/1182] so it can be updated in the Field Guide too. Thank
 you.

 "Taxonomy: The double sanitization in get_term function has been stopped.
 This will prevent the unnecessary calls to sanitize_term which was
 detrimental to performance. #58329.
 "

 I have removed 'has-patch' keyword for housekeeping. I will leave the
 'needs-dev-note' keyword for now.

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


More information about the wp-trac mailing list