[wp-trac] [WordPress Trac] #60357: Add check for fitler to sanitize_textarea_field and sanitize_text_field PHPtests

WordPress Trac noreply at wordpress.org
Sat Jan 27 20:35:42 UTC 2024


#60357: Add check for fitler to sanitize_textarea_field and sanitize_text_field
PHPtests
--------------------------------------+-----------------------------
 Reporter:  pbearne                   |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.5
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57368" 57368]:
 {{{
 #!CommitTicketReference repository="" revision="57368"
 Tests: Expand `sanitize_text_field()` tests.

 This change ensures that the `sanitize_text_field` and
 `sanitize_textarea_field` filters are correctly invoked for the respective
 functions.

 Follow-up to [38944].

 Props pbearne, audrasjb.
 Fixes #60357.
 }}}

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


More information about the wp-trac mailing list