Skip to content

Commit

Permalink
Change Stream admin page title from h2 to h1
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Carbis committed Oct 2, 2015
1 parent a826ddd commit afcced8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/class-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand All @@ -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>
Expand Down

0 comments on commit afcced8

Please sign in to comment.