[wp-trac] [WordPress Trac] #20372: WP_User::exists()

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 8 01:06:47 UTC 2012


#20372: WP_User::exists()
------------------------------+------------------
 Reporter:  markjaquith       |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  Users             |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by nacin):

 In [20402]:
 {{{
 #!CommitTicketReference repository="" revision="20402"
 wp_set_current_user(0) for XMLRPC_REQUEST in get_currentuserinfo().
 Ensures that wp_get_current_user() always returns a WP_User object. see
 #20372.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20372#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list