Restore <title> tag on Posts and Pages screens after [31696].

fixes #31349.

git-svn-id: https://develop.svn.wordpress.org/trunk@31709 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-03-11 00:48:56 +00:00
parent 8c5057119e
commit c29e63fdf7

View File

@ -165,6 +165,8 @@ $wp_list_table->prepare_items();
wp_enqueue_script('inline-edit-post'); wp_enqueue_script('inline-edit-post');
wp_enqueue_script('heartbeat'); wp_enqueue_script('heartbeat');
$title = $post_type_object->labels->name;
if ( 'post' == $post_type ) { if ( 'post' == $post_type ) {
get_current_screen()->add_help_tab( array( get_current_screen()->add_help_tab( array(
'id' => 'overview', 'id' => 'overview',