Ticket #7722: 7722.patch
File 7722.patch, 2.9 KB (added by , 7 years ago) |
---|
-
src/bp-activity/bp-activity-admin.php
296 296 ); 297 297 298 298 // 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 305 304 } 306 305 307 306 // Enqueue CSS and JavaScript. -
src/bp-groups/bp-groups-admin.php
186 186 ); 187 187 188 188 // 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 ) ); 195 193 } 196 194 197 195 $bp = buddypress(); -
src/bp-members/classes/class-bp-members-admin.php
1544 1544 ); 1545 1545 1546 1546 // 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 ) ); 1557 1555 1558 1556 } else { 1559 1557 if ( ! empty( $_REQUEST['signup_ids' ] ) ) {