[buddypress-trac] [BuddyPress Trac] #7582: wp_update_user creates an error

buddypress-trac noreply at wordpress.org
Fri Aug 11 18:51:14 UTC 2017


#7582: wp_update_user creates an error
--------------------------+----------------------
 Reporter:  iamklaus      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |
--------------------------+----------------------
Changes (by r-a-y):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Your `ad_sso_login()` runs very early.

 Why do you need to run your function on `'after_setup_theme'`?  All you
 are doing is updating the URL for a particular user.  You should run your
 function later on `'wp_loaded'` or later when you know that all of
 WordPress, the current theme and all plugins are loaded.

 Closing as invalid.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7582#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list