mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 19:24:34 +00:00
In wp_set_current_user(), return the current user global only if it is a WP_User object. If it is not, fall through and go about setting it up properly. Formatting cleanups for both functions. see #20372 git-svn-id: https://develop.svn.wordpress.org/trunk@20410 602fd350-edb4-49c9-b593-d223f7449a82
58 KiB
58 KiB