[wp-trac] [WordPress Trac] #21982: check wp_authenticate_cookie

WordPress Trac noreply at wordpress.org
Thu Feb 6 06:05:54 UTC 2014


#21982: check wp_authenticate_cookie
-------------------------+----------------------
 Reporter:  fitorec      |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Users        |     Version:  3.4.2
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------

Comment (by nacin):

 While a future commit in this file will surely clean up the all-on-one-
 line if statement, we prefer returning early from functions whenever
 possible. The patch here would change that and make it less clear what
 happens when the function receives a WP_User.

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


More information about the wp-trac mailing list