Skip to:
Content

BuddyPress.org

Ticket #8364: 8364.patch

File 8364.patch, 10.6 KB (added by imath, 4 years ago)
  • src/bp-activity/bp-activity-admin.php

    diff --git src/bp-activity/bp-activity-admin.php src/bp-activity/bp-activity-admin.php
    index 8c765f35e..d96725901 100644
    function bp_activity_admin_delete() { 
    669669        $base_url = remove_query_arg( array( 'action', 'action2', 'paged', 's', '_wpnonce', 'aid' ), $_SERVER['REQUEST_URI'] ); ?>
    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
    675677                <ul class="bp-activity-delete-list">
    function bp_activity_admin_edit() { 
    756758        do_action_ref_array( 'bp_activity_admin_edit', array( &$activity ) ); ?>
    757759
    758760        <div class="wrap">
    759                 <h1>
     761                <h1 class="wp-heading-inline">
    760762                        <?php
    761763                        /* translators: %s: the activity ID */
    762764                        printf( __( 'Editing Activity (ID #%s)', 'buddypress' ), number_format_i18n( (int) $_REQUEST['aid'] ) );
    763765                        ?>
    764766                </h1>
    765767
     768                <hr class="wp-header-end">
     769
    766770                <?php if ( ! empty( $activity ) ) : ?>
    767771
    768772                        <form action="<?php echo esc_url( $form_url ); ?>" id="bp-activities-edit-form" method="post">
    function bp_activity_admin_index() { 
    11491153        do_action( 'bp_activity_admin_index', $messages ); ?>
    11501154
    11511155        <div class="wrap">
    1152                 <h1>
     1156                <h1 class="wp-heading-inline">
    11531157                        <?php if ( !empty( $_REQUEST['aid'] ) ) : ?>
    11541158                                <?php
    11551159                                /* translators: %s: the activity ID */
    function bp_activity_admin_index() { 
    11691173                        <?php endif; ?>
    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 ) ) : ?>
    11741180                        <div id="moderated" class="<?php echo ( ! empty( $_REQUEST['error'] ) ) ? 'error' : 'updated'; ?> notice is-dismissible"><p><?php echo implode( "<br/>\n", $messages ); ?></p></div>
  • src/bp-core/admin/bp-core-admin-components.php

    diff --git src/bp-core/admin/bp-core-admin-components.php src/bp-core/admin/bp-core-admin-components.php
    index 5ba7d1d56..cfa810264 100644
    function bp_core_admin_components_settings() { 
    2121
    2222        <div class="wrap">
    2323
    24                 <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     24                <h1 class="wp-heading-inline"><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     25                <hr class="wp-header-end">
    2526
    2627                <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Components', 'buddypress' ) ); ?></h2>
    2728                <form action="" method="post" id="bp-admin-component-form">
  • src/bp-core/admin/bp-core-admin-functions.php

    diff --git src/bp-core/admin/bp-core-admin-functions.php src/bp-core/admin/bp-core-admin-functions.php
    index b50ad98c6..a3fc62c1f 100644
    function bp_core_admin_backpat_page() { 
    102102        $settings_url = add_query_arg( 'page', 'bp-components', $url ); ?>
    103103
    104104        <div class="wrap">
    105                 <h2><?php _e( 'Why have all my BuddyPress menus disappeared?', 'buddypress' ); ?></h2>
     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">
    106107
    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>
     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
    110111                        printf(
  • src/bp-core/admin/bp-core-admin-settings.php

    diff --git src/bp-core/admin/bp-core-admin-settings.php src/bp-core/admin/bp-core-admin-settings.php
    index cf8d43468..c09f809ca 100644
    function bp_core_admin_settings() { 
    272272
    273273        <div class="wrap">
    274274
    275                 <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     275                <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?></h1>
     276                <hr class="wp-header-end">
    276277
    277                 <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Options', 'buddypress' ) ); ?></h2>
     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">
    280281
  • src/bp-core/admin/bp-core-admin-slugs.php

    diff --git src/bp-core/admin/bp-core-admin-slugs.php src/bp-core/admin/bp-core-admin-slugs.php
    index 430cc0f6b..8fb9b9a40 100644
    function bp_core_admin_slugs_settings() { 
    2121
    2222        <div class="wrap">
    2323
    24                 <h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     24                <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     25                <hr class="wp-header-end">
    2526
    26                 <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Pages', 'buddypress' ) ); ?></h2>
     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
    2930                        <?php bp_core_admin_slugs_options(); ?>
  • src/bp-core/admin/bp-core-admin-tools.php

    diff --git src/bp-core/admin/bp-core-admin-tools.php src/bp-core/admin/bp-core-admin-tools.php
    index aa9f4c645..8dcae1dc0 100644
    function bp_core_admin_tools() { 
    1919        ?>
    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>
    2526                <p><?php esc_html_e( 'Use the tools below to manually recalculate these relationships.', 'buddypress' ); ?>
    function bp_admin_tools_feedback( $message, $class = false ) { 
    442443function bp_core_admin_available_tools_page() {
    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
    448450
  • src/bp-core/classes/class-bp-admin.php

    diff --git src/bp-core/classes/class-bp-admin.php src/bp-core/classes/class-bp-admin.php
    index 5457a816c..449ba23fe 100644
    class BP_Admin { 
    828828
    829829                <div class="wrap bp-about-wrap">
    830830
    831                 <h1><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
     831                <h1 class="wp-heading-inline"><?php esc_html_e( 'BuddyPress Settings', 'buddypress' ); ?></h1>
     832                <hr class="wp-header-end">
    832833
    833834                <h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( esc_html__( 'Credits', 'buddypress' ) ); ?></h2>
    834835
  • src/bp-groups/bp-groups-admin.php

    diff --git src/bp-groups/bp-groups-admin.php src/bp-groups/bp-groups-admin.php
    index aa07545eb..cbcb8cb68 100644
    function bp_groups_admin_delete() { 
    697697        $base_url  = remove_query_arg( array( 'action', 'action2', 'paged', 's', '_wpnonce', 'gid' ), $_SERVER['REQUEST_URI'] ); ?>
    698698
    699699        <div class="wrap">
    700                 <h1><?php _e( 'Delete Groups', 'buddypress' ) ?></h1>
     700                <h1 class="wp-heading-inline"><?php _e( 'Delete Groups', 'buddypress' ) ?></h1>
     701                <hr class="wp-header-end">
     702
    701703                <p><?php _e( 'You are about to delete the following groups:', 'buddypress' ) ?></p>
    702704
    703705                <ul class="bp-group-delete-list">
  • src/bp-members/classes/class-bp-members-admin.php

    diff --git src/bp-members/classes/class-bp-members-admin.php src/bp-members/classes/class-bp-members-admin.php
    index 3d8658217..d344b5d7c 100644
    class BP_Members_Admin { 
    21952195                ?>
    21962196
    21972197                <div class="wrap">
    2198                         <h1><?php echo esc_html( $header_text ); ?></h1>
     2198                        <h1 class="wp-heading-inline"><?php echo esc_html( $header_text ); ?></h1>
     2199                        <hr class="wp-header-end">
     2200
    21992201                        <p><?php echo esc_html( $helper_text ); ?></p>
    22002202
    22012203                        <ol class="bp-signups-list">
  • src/bp-xprofile/bp-xprofile-admin.php

    diff --git src/bp-xprofile/bp-xprofile-admin.php src/bp-xprofile/bp-xprofile-admin.php
    index 456d8f6dd..159c720cd 100644
    function xprofile_admin_delete_group_screen( $group_id ) { 
    444444        $base_url = remove_query_arg( array( 'mode', 'group_id', '_wpnonce' ), $_SERVER['REQUEST_URI'] ); ?>
    445445
    446446        <div class="wrap">
    447                 <h1><?php esc_html_e( 'Delete Field Group', 'buddypress' ) ?></h1>
     447                <h1 class="wp-heading-inline"><?php esc_html_e( 'Delete Field Group', 'buddypress' ) ?></h1>
     448                <hr class="wp-header-end">
     449
    448450                <p><?php esc_html_e( 'You are about to delete the following field group:', 'buddypress' ) ?></p>
    449451
    450452                <ul class="bp-xprofile-delete-group-list">
    function xprofile_admin_delete_field_screen( $field_id, $field_type ) { 
    653655        $base_url = remove_query_arg( array( 'mode', 'field_id', 'bp_xprofile_delete_field' ), $_SERVER['REQUEST_URI'] ); ?>
    654656
    655657        <div class="wrap">
    656                 <h1>
     658                <h1 class="wp-heading-inline">
    657659                        <?php
    658660                        printf(
    659661                                /* translators: %s is the field type name. */
    function xprofile_admin_delete_field_screen( $field_id, $field_type ) { 
    662664                        );
    663665                        ?>
    664666                </h1>
     667
     668                <hr class="wp-header-end">
     669
    665670                <p>
    666671                        <?php
    667672                        printf(
  • src/bp-xprofile/classes/class-bp-xprofile-field.php

    diff --git src/bp-xprofile/classes/class-bp-xprofile-field.php src/bp-xprofile/classes/class-bp-xprofile-field.php
    index 30577205b..cfe021c43 100644
    class BP_XProfile_Field { 
    12261226
    12271227                <div class="wrap">
    12281228
    1229                         <h1><?php echo esc_html( $title ); ?></h1>
     1229                        <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
     1230                        <hr class="wp-header-end">
    12301231
    12311232                        <?php if ( !empty( $message ) ) : ?>
    12321233
  • src/bp-xprofile/classes/class-bp-xprofile-group.php

    diff --git src/bp-xprofile/classes/class-bp-xprofile-group.php src/bp-xprofile/classes/class-bp-xprofile-group.php
    index 18a668a83..60bd589cd 100644
    class BP_XProfile_Group { 
    844844
    845845                <div class="wrap">
    846846
    847                         <h1><?php echo esc_html( $title ); ?></h1>
     847                        <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
     848                        <hr class="wp-header-end">
    848849
    849850                        <?php if ( ! empty( $message ) ) : ?>
    850851