WP Multisite doesn't save options
-
Hi!
Thank you for the excellent Plugin. Using it since years for a non-profit project.
In WPMS I wasn’t able to save options. Now I realized, that this comes from the try of the plugin to save the settings through
update_site_option
. But it’s not using the values from there but instead the settings/values on per page basis.
I replaced that by usingupdate_options
as well and now I’m able to save my settings. That’s fine for me but in general it’s sad, that there is no more network wide settings page with global settings.Here the code part with my comment:
if ($_REQUEST['step'] == '2') { if ($this->options['IS_WPMU']) // update_site_option('wp-invites', $_REQUEST['wp_invites']); (NOT WORKING) update_option('wp-invites', $_REQUEST['wp_invites']); else update_option('wp-invites', $_REQUEST['wp_invites']); echo '<div class="updated">' . __('Options updated!', 'wp-invites') . '</div>'; }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘WP Multisite doesn't save options’ is closed to new replies.