From fb1759e4174bd0ea66fdaa0cf36d053b9362cbdc Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 16 Sep 2013 20:36:35 +0000 Subject: [PATCH] Only focus the title field when it is empty. Remove ancient code that provided for an alternate condition. props scruffian for initial patches. props helen. fixes #24423. git-svn-id: https://develop.svn.wordpress.org/trunk@25459 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/edit-form-advanced.php b/src/wp-admin/edit-form-advanced.php index aba54f6ab5..2c7fb181fb 100644 --- a/src/wp-admin/edit-form-advanced.php +++ b/src/wp-admin/edit-form-advanced.php @@ -469,7 +469,7 @@ if ( post_type_supports( $post_type, 'comments' ) ) wp_comment_reply(); ?> -post_title) && '' == $post->post_title) || (isset($_GET['message']) && 2 > $_GET['message']) ) : ?> +post_title ) : ?>