Fix for incorrect header() referral, width.
git-svn-id: http://svn.automattic.com/wordpress/trunk@607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2b30f037b0
commit
57da20afcf
|
@ -225,7 +225,7 @@ if ($user_level > 4) {
|
|||
touch_time(($action == 'edit'));
|
||||
}
|
||||
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>
|
||||
|
|
|
@ -359,7 +359,7 @@ switch($action) {
|
|||
|
||||
// pingWeblogs($blog_ID);
|
||||
$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);
|
||||
|
||||
break;
|
||||
|
|
|
@ -291,7 +291,7 @@ textarea, input, select {
|
|||
}
|
||||
|
||||
#wphead {
|
||||
height: 44px;
|
||||
height: 42px;
|
||||
margin: 0;
|
||||
background: repeat-x url(../wp-images/header-shadow.png) #f2f2f2;
|
||||
}
|
||||
|
@ -299,9 +299,10 @@ textarea, input, select {
|
|||
#wphead a {
|
||||
display: block;
|
||||
background: url(../wp-images/wp-small.png) no-repeat;
|
||||
height: 44px;
|
||||
height: 42px;
|
||||
text-decoration: none;
|
||||
text-indent: -1000px;
|
||||
line-height: 30px;
|
||||
width: 200px;
|
||||
border-bottom: none;
|
||||
margin: 3px 0 0 5px;
|
||||
|
|
Loading…
Reference in New Issue