From cc18743397cf780fbfa8741466c2fb88c411db68 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 9 Jan 2008 11:21:27 +0000 Subject: [PATCH] Redirect to edit page with posted blurb as default. git-svn-id: http://svn.automattic.com/wordpress/trunk@6581 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/edit.php | 8 +++++++- wp-admin/post-new.php | 2 +- wp-admin/post.php | 12 +++++------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 0e0df245d..92da6a6a0 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -13,10 +13,16 @@ list($post_stati, $avail_post_stati) = wp_edit_posts_query(); $wp_query->max_num_pages = ceil( $wp_query->found_posts / 15 ); // We grab 20 but only show 15 ( 5 more for ajax extra ) ?> + +

|

+ +
diff --git a/wp-admin/post-new.php b/wp-admin/post-new.php index 1d8807a1f..dc65dbe29 100644 --- a/wp-admin/post-new.php +++ b/wp-admin/post-new.php @@ -22,7 +22,7 @@ When you’re promoted, just reload this page and you’ll be able to bl exit(); } -if ( isset($_GET['posted']) && $_GET['posted'] ) : ?> +if ( isset($_GET['posted']) && $_GET['posted'] ) : $_GET['posted'] = (int) $_GET['posted']; ?>