[wp-trac] [WordPress Trac] #28020: get_userdata and wp_get_current_user do not share WP_User instance

WordPress Trac noreply at wordpress.org
Wed Apr 21 01:29:42 UTC 2021


#28020: get_userdata and wp_get_current_user do not share WP_User instance
-------------------------------------------------+-------------------------
 Reporter:  rmccue                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.8
Component:  Users                                |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests early       |     Focuses:  rest-api
  needs-refresh                                  |
-------------------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I've pushed a couple of further changes to the pull request but super
 minor things.

 I'm not sure of the purpose of the new `$force` parameter so have asked
 for some clarification there.

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


More information about the wp-trac mailing list