Fix for incorrect header() referral, width.
git-svn-id: https://develop.svn.wordpress.org/trunk@607 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f875841324
commit
33a7e6d4d4
|
@ -225,7 +225,7 @@ if ($user_level > 4) {
|
||||||
touch_time(($action == 'edit'));
|
touch_time(($action == 'edit'));
|
||||||
}
|
}
|
||||||
if ('edit' == $action) echo "
|
if ('edit' == $action) echo "
|
||||||
<p><a href='post.php?action=delete&post=$post' onclick=\"return confirm('You are about to delete this post \'".$edited_post_title."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete this post</a></p>";
|
<p><a href='post.php?action=delete&post=$post->ID' onclick=\"return confirm('You are about to delete this post \'".addslashes($edited_post_title)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete this post</a></p>";
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -359,7 +359,7 @@ switch($action) {
|
||||||
|
|
||||||
// pingWeblogs($blog_ID);
|
// pingWeblogs($blog_ID);
|
||||||
$sendback = $HTTP_SERVER_VARS['HTTP_REFERER'];
|
$sendback = $HTTP_SERVER_VARS['HTTP_REFERER'];
|
||||||
if (strstr($sendback, 'wp-post')) $sendback = $siteurl .'/wp-admin/post.php';
|
if (strstr($sendback, 'post.php')) $sendback = $siteurl .'/wp-admin/post.php';
|
||||||
header ('Location: ' . $sendback);
|
header ('Location: ' . $sendback);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -291,7 +291,7 @@ textarea, input, select {
|
||||||
}
|
}
|
||||||
|
|
||||||
#wphead {
|
#wphead {
|
||||||
height: 44px;
|
height: 42px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: repeat-x url(../wp-images/header-shadow.png) #f2f2f2;
|
background: repeat-x url(../wp-images/header-shadow.png) #f2f2f2;
|
||||||
}
|
}
|
||||||
|
@ -299,9 +299,10 @@ textarea, input, select {
|
||||||
#wphead a {
|
#wphead a {
|
||||||
display: block;
|
display: block;
|
||||||
background: url(../wp-images/wp-small.png) no-repeat;
|
background: url(../wp-images/wp-small.png) no-repeat;
|
||||||
height: 44px;
|
height: 42px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-indent: -1000px;
|
text-indent: -1000px;
|
||||||
|
line-height: 30px;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
margin: 3px 0 0 5px;
|
margin: 3px 0 0 5px;
|
||||||
|
|
Loading…
Reference in New Issue