[wp-trac] [WordPress Trac] #63257: sanitize_term_field missing default $context value

WordPress Trac noreply at wordpress.org
Fri Feb 13 09:14:32 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     |     Focuses:
--------------------------+-----------------------

Comment (by vishalkakadiya):

 @wildworks You are right, we can't risk this change without a proper
 reason behind it. I think the documentation was updated mistakenly in the
 past. Check the below commit, the commit message is "Docs: Various
 docblock corrections" and it was updated as part of the
 https://core.trac.wordpress.org/ticket/51800 ticket.

 > Commit: https://github.com/WordPress/wordpress-
 develop/commit/81b89682c387d47280c15105b9d3dd1af2f1e45a#diff-
 7813f38c6b905b75c4b11bf2750c63ba0f5a1227ffc4f012deeeb22999cee68bR1578

 The best way to tackle this is to revert the wrong docblock change, as I
 have opened PR for this:
 > https://github.com/WordPress/wordpress-develop/pull/10918

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


More information about the wp-trac mailing list