Skip to content
Permalink
Browse files

Change Stream admin page title from h2 to h1

  • Loading branch information...
Luke Carbis
Luke Carbis committed Oct 2, 2015
1 parent a826ddd commit afcced8b590e047e8adfe6ae79483a7436c849f4
Showing with 3 additions and 3 deletions.
  1. +3 −3 classes/class-admin.php
@@ -506,7 +506,7 @@ public function admin_menu_css() {
background: none !important;
background-repeat: no-repeat;
}
body.{$body_class} #wpbody-content .wrap h2:nth-child(1):before {
body.{$body_class} #wpbody-content .wrap h1:nth-child(1):before {
font-family: 'WP Stream' !important;
content: '\\73';
padding: 0 8px 0 0;
@@ -681,7 +681,7 @@ public function render_list_table() {
$this->list_table->prepare_items();
?>
<div class="wrap">
<h2><?php echo esc_html( get_admin_page_title() ) ?></h2>
<h1><?php echo esc_html( get_admin_page_title() ) ?></h1>
<?php $this->list_table->display() ?>
</div>
<?php
@@ -702,7 +702,7 @@ public function render_settings_page() {
wp_enqueue_script( 'wp-stream-settings', $this->plugin->locations['url'] . 'ui/js/settings.js', array( 'jquery' ), $this->plugin->get_version(), true );
?>
<div class="wrap">
<h2><?php echo esc_html( get_admin_page_title() ) ?></h2>
<h1><?php echo esc_html( get_admin_page_title() ) ?></h1>

<?php if ( ! empty( $page_description ) ) : ?>
<p><?php echo esc_html( $page_description ) ?></p>

0 comments on commit afcced8

Please sign in to comment.
You can’t perform that action at this time.