[wp-trac] [WordPress Trac] #57133: $type should be escaping in 'user-new.php'

WordPress Trac noreply at wordpress.org
Fri Nov 18 15:19:21 UTC 2022


#57133: $type should be escaping in 'user-new.php'
---------------------------+-----------------------------------------------
 Reporter:  monzuralam     |       Owner:  SergeyBiryukov
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.2
Component:  Users          |     Version:  trunk
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  administration, coding-standards
  2nd-opinion              |
---------------------------+-----------------------------------------------
Changes (by SergeyBiryukov):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54857" 54857]:
 {{{
 #!CommitTicketReference repository="" revision="54857"
 Users: Add missing escaping on the Add New User screen.

 While the `$type` and `$label` variables are set to values that do not
 currently require escaping, this may change in the future, so it is
 preferable to add the escaping as a defensive coding measure.

 Follow-up to [16294], [29030].

 Props monzuralam, rudlinkon, hztyfoon, peterwilsoncc.
 Fixes #57133.
 }}}

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


More information about the wp-trac mailing list