Fix bug with b2header and redefinition of get_helplink
git-svn-id: http://svn.automattic.com/wordpress/trunk@301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
317ffc9384
commit
6bc90de79c
|
@ -43,8 +43,8 @@ if ($option_group_id == '') {
|
||||||
switch($action) {
|
switch($action) {
|
||||||
|
|
||||||
case "update":
|
case "update":
|
||||||
$standalone = 1;
|
$standalone = 0;
|
||||||
include("./b2header.php");
|
include_once("./b2header.php");
|
||||||
$any_changed = 0;
|
$any_changed = 0;
|
||||||
|
|
||||||
// iterate through the list of options in this group
|
// iterate through the list of options in this group
|
||||||
|
@ -100,7 +100,7 @@ case "update":
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$standalone = 0;
|
$standalone = 0;
|
||||||
include ("./b2header.php");
|
include_once("./b2header.php");
|
||||||
if ($user_level <= 3) {
|
if ($user_level <= 3) {
|
||||||
die("You have no right to edit the options for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
|
die("You have no right to edit the options for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue