Ticket #3538: post.php-4692.diff
| File post.php-4692.diff, 431 bytes (added by flinkflonk, 5 years ago) |
|---|
| Line | |
|---|---|
| 1 | --- branches/2.0/wp-admin/post.php-4692 Sun Jan 7 13:57:34 2007 |
| 2 | +++ branches/2.0/wp-admin/post.php Sun Jan 7 13:57:59 2007 |
| 3 | @@ -158,7 +158,7 @@ |
| 4 | } |
| 5 | |
| 6 | $sendback = wp_get_referer(); |
| 7 | - if ( $post->post_status = 'static' ) |
| 8 | + if ( $post->post_status == 'static' ) |
| 9 | $sendback = get_option('siteurl') . '/wp-admin/edit-pages.php'; |
| 10 | elseif ( strstr($sendback, 'post.php') ) |
| 11 | $sendback = get_option('siteurl') .'/wp-admin/post.php'; |
