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';