[wp-trac] [WordPress Trac] #46794: wp_authenticate_email_password fails due to incorrect evaluation of $user object

WordPress Trac noreply at wordpress.org
Thu Apr 4 16:50:10 UTC 2019


#46794: wp_authenticate_email_password fails due to incorrect evaluation of $user
object
-------------------------------------------------+-------------------------
 Reporter:  Csassaf                              |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Users                                |     Version:  5.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots needs-patch dev-     |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by davidbaumwald):

 * keywords:  has-screenshots needs-patch => has-screenshots needs-patch
     dev-feedback
 * severity:  blocker => normal


Comment:

 Doing some digging here, I think this is a non-issue.  Yes,
 {{{$user->user_pass}}} is not shown as a property in the class in XDebug,
 but at runtime, the magic method {{{WP_User->__get}}} aliases all
 {{{data}}} properties, including {{{user_pass}}}, for easier use.

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


More information about the wp-trac mailing list