Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/18/2020 08:58:20 PM (4 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-tools.php

    r12668 r12725  
    2020    <div class="wrap">
    2121
    22         <h1><?php esc_html_e( 'BuddyPress Tools', 'buddypress' ) ?></h1>
     22        <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Tools', 'buddypress' ) ?></h1>
     23        <hr class="wp-header-end">
    2324
    2425        <p><?php esc_html_e( 'BuddyPress keeps track of various relationships between members, groups, and activity items. Occasionally these relationships become out of sync, most often after an import, update, or migration.', 'buddypress' ); ?></p>
     
    443444    ?>
    444445    <div class="wrap">
    445         <h1><?php esc_attr_e( 'Tools', 'buddypress' ) ?></h1>
     446        <h1 class="wp-heading-inline"><?php esc_html_e( 'Tools', 'buddypress' ) ?></h1>
     447        <hr class="wp-header-end">
    446448
    447449        <?php
Note: See TracChangeset for help on using the changeset viewer.