[wp-trac] [WordPress Trac] #63257: sanitize_term_field missing default $context value
WordPress Trac
noreply at wordpress.org
Fri Feb 13 10:10:38 UTC 2026
#63257: sanitize_term_field missing default $context value
------------------------------+-----------------------
Reporter: dilipbheda | Owner: audrasjb
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 7.0
Component: Taxonomy | Version:
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses:
------------------------------+-----------------------
Changes (by wildworks):
* keywords: has-patch => has-patch commit
Comment:
> The best way to tackle this is to revert the wrong docblock change, and
I have opened a PR for that:
> > https://github.com/WordPress/wordpress-develop/pull/10918
I've approved this PR. Adding a default value would likely cause backward
compatibility issues, so I don't think it's feasible. Updating the
docblock should be sufficient.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63257#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list