[wp-trac] [WordPress Trac] #58152: Possible variable re-use

WordPress Trac noreply at wordpress.org
Tue Apr 18 10:22:04 UTC 2023


#58152: Possible variable re-use
-------------------------+-----------------------------
 Reporter:  mujuonly     |      Owner:  mujuonly
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Users        |    Version:  trunk
 Severity:  normal       |   Keywords:  needs-patch
  Focuses:               |
-------------------------+-----------------------------
 The variable `$spam` is defined in the line 2228 in wp-includes/user.php
 and we can re-use the same variable in the line 2463 and 2646

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58152>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list