Set $standalone to 1 for the update case to avoid headers already sent error.
git-svn-id: https://develop.svn.wordpress.org/trunk@874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
ee730aea98
commit
b4a9535a13
@ -45,7 +45,7 @@ if ($option_group_id == '') {
|
||||
switch($action) {
|
||||
|
||||
case "update":
|
||||
$standalone = 0;
|
||||
$standalone = 1;
|
||||
include_once("./admin-header.php");
|
||||
$any_changed = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user