[wp-trac] [WordPress Trac] #63257: sanitize_term_field missing default $context value
WordPress Trac
noreply at wordpress.org
Wed Apr 9 12:50:47 UTC 2025
#63257: sanitize_term_field missing default $context value
-----------------------------------+------------------------------
Reporter: dilipbheda | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+------------------------------
Changes (by audrasjb):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
Hello and thank you for the ticket.
I may be wrong but to be honest, given the default condition passes
through a simple `else` statement, I cannot see much value to pass the
default value. It is not used anywhere in the function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63257#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list