mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user