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

    r12678 r12725  
    103103
    104104    <div class="wrap">
    105         <h2><?php _e( 'Why have all my BuddyPress menus disappeared?', 'buddypress' ); ?></h2>
    106 
    107         <p><?php _e( "Don't worry! We've moved the BuddyPress options into more convenient and easier to find locations. You're seeing this page because you are running a legacy BuddyPress plugin which has not been updated.", 'buddypress' ); ?></p>
     105        <h1 class="wp-heading-inline"><?php esc_html_e( 'Why have all my BuddyPress menus disappeared?', 'buddypress' ); ?></h1>
     106        <hr class="wp-header-end">
     107
     108        <p><?php esc_html_e( "Don't worry! We've moved the BuddyPress options into more convenient and easier to find locations. You're seeing this page because you are running a legacy BuddyPress plugin which has not been updated.", 'buddypress' ); ?></p>
    108109        <p>
    109110            <?php
Note: See TracChangeset for help on using the changeset viewer.