Typo correction from flinkflonk. fixes #3538

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-01-07 13:56:31 +00:00
parent 3f5472892f
commit 1516281e70

View File

@ -158,7 +158,7 @@ case 'delete':
}
$sendback = wp_get_referer();
if ( $post->post_status = 'static' )
if ( $post->post_status == 'static' )
$sendback = get_option('siteurl') . '/wp-admin/edit-pages.php';
elseif ( strstr($sendback, 'post.php') )
$sendback = get_option('siteurl') .'/wp-admin/post.php';