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-settings.php

    r12553 r12725  
    273273    <div class="wrap">
    274274
    275         <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
    276 
    277         <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Options', 'buddypress' ) ); ?></h2>
     275        <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?></h1>
     276        <hr class="wp-header-end">
     277
     278        <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( esc_html__( 'Options', 'buddypress' ) ); ?></h2>
    278279
    279280        <form action="<?php echo esc_url( $form_action ) ?>" method="post">
Note: See TracChangeset for help on using the changeset viewer.