When I use the settings API in a multisite installation and the options page sits at the network level, posting the options to options.php
does not work, because the administration page sits at wp-admin/network
and WP expects the page to be at wp-admin
.
I added a function that checks whether this WP installation is a multsite installation (via the constant) and if it is, it changes the form's action value to ../option.php
. This saves the options OK, but the default message "Settings saved." is missing (however, the query string does include settings-updated=true
).
Any thoughts on how to get the message to appear?