I am using $wpdb->update to update wp_users.user_email. It works fine. However, when I call get_currentuserinfo() or get_userdata() right after to re-populate the html input fields, I’m getting the old value. If I refresh the screen, either method will return the correct updated value.
Is there something special I need to do in order to retrieve the value just updated? I’d rather not rely on the original value I passed to $wpdb->update.
- The topic ‘$wpdb->update delayed?’ is closed to new replies.