1

I have a page template that creates a user directory listing for certain of my site users.

I have no caching plugin and I get the same result from local development server, remote development server and live server.

The directory page does not reflect any changes made to the user profile it is as though it is being cached somewhere. It make no difference whether I update the profile using the native Wordpress admin page or using Gravity Forms User Registration update form.

I have tried $bio = get_user_meta( $user_id, 'description', true ); and also $all_user_data = get_userdata($user_id); $bio = $all_user_data->description;

Both return old data not the updated data from the profile.

  • please clear your history (catch memory) – Umesh Maliya Jul 20 '15 at 10:09
  • As I said above I don't have any caching enabled. – Colin Jul 20 '15 at 13:37
  • I tried running clean_user_cache($user_id). No luck. – dewd Jul 28 '15 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.