Skip to content

Commit afcced8

Browse files
author
Luke Carbis
committed
Change Stream admin page title from h2 to h1
1 parent a826ddd commit afcced8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

classes/class-admin.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public function admin_menu_css() {
506506
background: none !important;
507507
background-repeat: no-repeat;
508508
}
509-
body.{$body_class} #wpbody-content .wrap h2:nth-child(1):before {
509+
body.{$body_class} #wpbody-content .wrap h1:nth-child(1):before {
510510
font-family: 'WP Stream' !important;
511511
content: '\\73';
512512
padding: 0 8px 0 0;
@@ -681,7 +681,7 @@ public function render_list_table() {
681681
$this->list_table->prepare_items();
682682
?>
683683
<div class="wrap">
684-
<h2><?php echo esc_html( get_admin_page_title() ) ?></h2>
684+
<h1><?php echo esc_html( get_admin_page_title() ) ?></h1>
685685
<?php $this->list_table->display() ?>
686686
</div>
687687
<?php
@@ -702,7 +702,7 @@ public function render_settings_page() {
702702
wp_enqueue_script( 'wp-stream-settings', $this->plugin->locations['url'] . 'ui/js/settings.js', array( 'jquery' ), $this->plugin->get_version(), true );
703703
?>
704704
<div class="wrap">
705-
<h2><?php echo esc_html( get_admin_page_title() ) ?></h2>
705+
<h1><?php echo esc_html( get_admin_page_title() ) ?></h1>
706706

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

0 commit comments

Comments
 (0)