[wp-trac] [WordPress Trac] #50568: Improve WP_Term's sanitization calls
WordPress Trac
noreply at wordpress.org
Wed Feb 26 16:49:12 UTC 2025
#50568: Improve WP_Term's sanitization calls
----------------------------------------------+-----------------------
Reporter: Cybr | Owner: pbearne
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.9
Component: Taxonomy | Version: 5.5
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests early | Focuses:
----------------------------------------------+-----------------------
Changes (by flixos90):
* owner: (none) => pbearne
* status: new => assigned
* focuses: performance =>
* type: defect (bug) => enhancement
* milestone: Future Release => 6.9
Comment:
I'm unsure about the performance value of this ticket without a good set
of metrics to back up the proposal. That said, the proposed change is
merely achieving parity of `WP_Term::filter()` with what
`WP_Post::filter()` already does. So from that perspective, it makes sense
to me, regardless of whether this has a notable performance benefit or
not.
Assigning to @pbearne as discussed
[https://wordpress.slack.com/archives/C02KGN5K076/p1740587469625229 on
Slack].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50568#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list