Is wp_get_current_user() removed from WP 4.0?
-
I had created a custom login script for non-WP parts of a site, in order to incorporate some WP session features into those parts as well… However, after upgrading to 4.0, the wp_get_current_user() function returns an empty object with an ID of 0. Is there something different about this function in 4.0? Or was it depreciated altogether? Is there an alternative?
Thanks for any advice.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is wp_get_current_user() removed from WP 4.0?’ is closed to new replies.