Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/18/2020 08:58:20 PM (3 years ago)
Author:
imath
Message:

Administration: improve BP Admin header titles consistency

This is a follow up of [12724]. It makes sure BP Admin headers titles (<h1>) are including the .wp-heading-inline class and are followed by an <hr> tag having the .wp-header-end class.

Fixes #8364

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/admin/bp-core-admin-slugs.php

    r12718 r12725  
    2222    <div class="wrap">
    2323
    24         <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
    25 
    26         <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Pages', 'buddypress' ) ); ?></h2>
     24        <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     25        <hr class="wp-header-end">
     26
     27        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( esc_html__( 'Pages', 'buddypress' ) ); ?></h2>
    2728        <form action="" method="post" id="bp-admin-page-form">
    2829
Note: See TracChangeset for help on using the changeset viewer.