Bring back h2 for add/edit post

git-svn-id: https://develop.svn.wordpress.org/trunk@9221 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-10-17 00:36:18 +00:00
parent 7a33030d14
commit 752eafa95c
3 changed files with 4 additions and 3 deletions

View File

@@ -116,7 +116,6 @@ case 'post-quickpress-save':
break;
case 'edit':
$title = __('Edit Post');
$editing = true;
if ( empty( $_GET['post'] ) ) {
@@ -155,6 +154,8 @@ case 'edit':
}
}
$title = sprintf(__('Edit "%s"'), wp_html_excerpt(_draft_or_post_title($post->ID), 50));
require_once('admin-header.php');
if ( !current_user_can('edit_post', $post_ID) )