Skip to:
Content

BuddyPress.org

Changeset 11907


Ignore:
Timestamp:
03/22/2018 10:44:36 AM (9 years ago)
Author:
mercime
Message:

Remove support for WP 4.3 and lower.

Fixes #7722.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-admin.php

    r11764 r11907  
    297297
    298298                // Add accessible hidden heading and text for Activity screen pagination.
    299                 if ( bp_get_major_wp_version() >= 4.4 ) {
    300                         get_current_screen()->set_screen_reader_content( array(
    301                                 /* translators: accessibility text */
    302                                 'heading_pagination' => __( 'Activity list navigation', 'buddypress' ),
    303                         ) );
    304                 }
     299                get_current_screen()->set_screen_reader_content( array(
     300                        /* translators: accessibility text */
     301                        'heading_pagination' => __( 'Activity list navigation', 'buddypress' ),
     302                ) );
     303
    305304        }
    306305
  • trunk/src/bp-groups/bp-groups-admin.php

    r11741 r11907  
    187187
    188188                // Add accessible hidden heading and text for Groups screen pagination.
    189                 if ( bp_get_major_wp_version() >= 4.4 ) {
    190                         get_current_screen()->set_screen_reader_content( array(
    191                                 /* translators: accessibility text */
    192                                 'heading_pagination' => __( 'Groups list navigation', 'buddypress' ),
    193                         ) );
    194                 }
     189                get_current_screen()->set_screen_reader_content( array(
     190                        /* translators: accessibility text */
     191                        'heading_pagination' => __( 'Groups list navigation', 'buddypress' ),
     192                ) );
    195193        }
    196194
  • trunk/src/bp-members/classes/class-bp-members-admin.php

    r11816 r11907  
    15451545
    15461546                        // Add accessible hidden headings and text for the Pending Users screen.
    1547                         if ( bp_get_major_wp_version() >= 4.4 ) {
    1548                                 get_current_screen()->set_screen_reader_content( array(
    1549                                         /* translators: accessibility text */
    1550                                         'heading_views'      => __( 'Filter users list', 'buddypress' ),
    1551                                         /* translators: accessibility text */
    1552                                         'heading_pagination' => __( 'Pending users list navigation', 'buddypress' ),
    1553                                         /* translators: accessibility text */
    1554                                         'heading_list'       => __( 'Pending users list', 'buddypress' ),
    1555                                 ) );
    1556                         }
     1547                        get_current_screen()->set_screen_reader_content( array(
     1548                                /* translators: accessibility text */
     1549                                'heading_views'      => __( 'Filter users list', 'buddypress' ),
     1550                                /* translators: accessibility text */
     1551                                'heading_pagination' => __( 'Pending users list navigation', 'buddypress' ),
     1552                                /* translators: accessibility text */
     1553                                'heading_list'       => __( 'Pending users list', 'buddypress' ),
     1554                        ) );
    15571555
    15581556                } else {
Note: See TracChangeset for help on using the changeset viewer.