ostsolutionss / wp-ajax-newsletter

Automatically exported from code.google.com/p/wp-ajax-newsletter
0 stars 0 forks source link

The admin interface in wp2.2 needs to be manually refreshed after updating the settings to see changes. #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
After changing the newsletter settings and hitting update the old settings
reappear. Reload the page and the settings show up as you set them. This
has only come about since moving over to wp2.2.

Its a minor problem but it would seem that the update_option in wp2.2 is
now done A-synchronously. A better way for you to store the vars would be
on the root of the class and call and save them from there at the beginning
and end of each run. This way you'd always have the latest set of data to
hand and reduce the number of times you have to use get_option.

Original issue reported on code.google.com by hyperion...@gmail.com on 24 May 2007 at 11:09

GoogleCodeExporter commented 9 years ago
2.5.1 has the same issue.  At least for me.

Original comment by atodd4...@gmail.com on 2 May 2008 at 6:35