Members Only options not saving for multisite 3.0 blog
-
I tracked it down to the way the options page form is created. The form action is:
<form method=”post” action=”<?php echo _SERVER[‘PHP_SELF’].’?page=’ . basename(__FILE__); ?>&updated=true”>
I changed it to:
<form method=”post” action=”<?php echo ‘options-general.php?page=’ . basename(__FILE__); ?>&updated=true”>
and it works now.
By using _SERVER[‘PHP_SELF’] the form action URL was reverting back to the main blog’s URL, instead of the current blog’s URL.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Members Only options not saving for multisite 3.0 blog’ is closed to new replies.