}
}
+/**
+ * @global string $post_type
+ * @global object $post_type_object
+ */
global $post_type, $post_type_object;
$post_type = $typenow;
require_once( ABSPATH . 'wp-admin/admin-header.php' );
?>
<div class="wrap">
-<h2><?php
+<h1><?php
echo esc_html( $post_type_object->labels->name );
if ( current_user_can( $post_type_object->cap->create_posts ) )
- echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="add-new-h2">' . esc_html( $post_type_object->labels->add_new ) . '</a>';
+ echo ' <a href="' . esc_url( admin_url( $post_new_file ) ) . '" class="page-title-action">' . esc_html( $post_type_object->labels->add_new ) . '</a>';
if ( ! empty( $_REQUEST['s'] ) )
printf( ' <span class="subtitle">' . __('Search results for “%s”') . '</span>', get_search_query() );
-?></h2>
+?></h1>
<?php
// If we have a bulk message to issue: