[wp-trac] [WordPress Trac] #58056: Fix non-strict equality check in /wp-admin/users.php Line No 148

WordPress Trac noreply at wordpress.org
Sun Apr 2 16:25:36 UTC 2023


#58056: Fix non-strict equality check in /wp-admin/users.php Line No 148
------------------------------+-------------------------------
 Reporter:  moinrrahmed       |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.3
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  coding-standards
------------------------------+-------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch commit
 * version:  trunk =>


Comment:

 Hello @moinrrahmed, welcome to Trac and thanks for the ticket,

 The change looks good to me, as `$id` is actually casted into an integer a
 few lines above this condition.

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


More information about the wp-trac mailing list