From 1516281e701a7a7cac4a5ffda2b43690b83ac33a Mon Sep 17 00:00:00 2001 From: markjaquith Date: Sun, 7 Jan 2007 13:56:31 +0000 Subject: [PATCH] Typo correction from flinkflonk. fixes #3538 git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4697 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/post.php b/wp-admin/post.php index 28a33fa887..a64e54a141 100644 --- a/wp-admin/post.php +++ b/wp-admin/post.php @@ -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';