WordPress.org

Ready to get started?Download WordPress

Forums

Help! The current user is *wrong*! (3 posts)

  1. KatieBen
    Member
    Posted 3 years ago #

    Help! Recently, my wp_get_current_user() is returning the wrong user (not someone I've ever logged in as, someone random!). It seems like this may have started because I changed the cookie name (using the wp_config setting). Why might this be?

    Any leads appreciated! Thanks! (:

  2. KatieBen
    Member
    Posted 3 years ago #

    It seems like every X number of page refreshes, the current user is changed to a different user. Then, with a certain number of refreshes, the current user is changed back to the correct user. Why??

  3. KatieBen
    Member
    Posted 3 years ago #

    By the way, I changed the LOGGED_IN_COOKIE.

Topic Closed

This topic has been closed to new replies.

About this Topic