Set $standalone to 1 for the update case to avoid headers already sent error.
git-svn-id: http://svn.automattic.com/wordpress/trunk@874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ecbf95566b
commit
b3574c0daf
|
@ -45,7 +45,7 @@ if ($option_group_id == '') {
|
||||||
switch($action) {
|
switch($action) {
|
||||||
|
|
||||||
case "update":
|
case "update":
|
||||||
$standalone = 0;
|
$standalone = 1;
|
||||||
include_once("./admin-header.php");
|
include_once("./admin-header.php");
|
||||||
$any_changed = 0;
|
$any_changed = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue