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-activity/bp-activity-admin.php

    r12698 r12725  
    670670
    671671    <div class="wrap">
    672         <h1><?php esc_html_e( 'Delete Activities', 'buddypress' ) ?></h1>
     672        <h1 class="wp-heading-inline"><?php esc_html_e( 'Delete Activities', 'buddypress' ) ?></h1>
     673        <hr class="wp-header-end">
     674
    673675        <p><?php esc_html_e( 'You are about to delete the following activities:', 'buddypress' ) ?></p>
    674676
     
    757759
    758760    <div class="wrap">
    759         <h1>
     761        <h1 class="wp-heading-inline">
    760762            <?php
    761763            /* translators: %s: the activity ID */
     
    763765            ?>
    764766        </h1>
     767
     768        <hr class="wp-header-end">
    765769
    766770        <?php if ( ! empty( $activity ) ) : ?>
     
    11501154
    11511155    <div class="wrap">
    1152         <h1>
     1156        <h1 class="wp-heading-inline">
    11531157            <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
    11541158                <?php
     
    11701174        </h1>
    11711175
     1176        <hr class="wp-header-end">
     1177
    11721178        <?php // If the user has just made a change to an activity item, display the status messages. ?>
    11731179        <?php if ( !empty( $messages ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.