Ticket #6951: 6951.patch
File 6951.patch, 5.1 KB (added by , 9 years ago) |
---|
-
src/bp-activity/bp-activity-admin.php
299 299 // Add accessible hidden heading and text for Activity screen pagination. 300 300 if ( bp_get_major_wp_version() >= 4.4 ) { 301 301 get_current_screen()->set_screen_reader_content( array( 302 /* translators: accessibility text */ 302 303 'heading_pagination' => __( 'Activity list navigation', 'buddypress' ), 303 304 ) ); 304 305 } -
src/bp-activity/classes/class-bp-activity-list-table.php
304 304 function get_views() { 305 305 $url_base = add_query_arg( array( 'page' => 'bp-activity' ), bp_get_admin_url( 'admin.php' ) ); ?> 306 306 307 <h2 class="screen-reader-text"><?php _e( 'Filter activities list', 'buddypress' ); ?></h2> 307 <h2 class="screen-reader-text"><?php 308 /* translators: accessibility text */ 309 _e( 'Filter activities list', 'buddypress' ); 310 ?></h2> 308 311 309 312 <ul class="subsubsub"> 310 313 <li class="all"><a href="<?php echo esc_url( $url_base ); ?>" class="<?php if ( 'spam' != $this->view ) echo 'current'; ?>"><?php _e( 'All', 'buddypress' ); ?></a> |</li> … … 414 417 $activity_actions = bp_activity_get_actions(); ?> 415 418 416 419 <div class="alignleft actions"> 417 <label for="activity-type" class="screen-reader-text"><?php _e( 'Filter by activity type', 'buddypress' ); ?></label> 420 <label for="activity-type" class="screen-reader-text"><?php 421 /* translators: accessibility text */ 422 _e( 'Filter by activity type', 'buddypress' ); 423 ?></label> 418 424 <select name="activity_type" id="activity-type"> 419 425 <option value="" <?php selected( ! $selected ); ?>><?php _e( 'View all actions', 'buddypress' ); ?></option> 420 426 -
src/bp-core/admin/bp-core-admin-components.php
150 150 break; 151 151 } ?> 152 152 153 <h3 class="screen-reader-text"><?php _e( 'Filter components list', 'buddypress' ); ?></h3> 153 <h3 class="screen-reader-text"><?php 154 /* translators: accessibility text */ 155 _e( 'Filter components list', 'buddypress' ); 156 ?></h3> 154 157 155 158 <ul class="subsubsub"> 156 159 <li><a href="<?php echo esc_url( add_query_arg( array( 'page' => 'bp-components', 'action' => 'all' ), bp_get_admin_url( $page ) ) ); ?>" <?php if ( $action === 'all' ) : ?>class="current"<?php endif; ?>><?php printf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $all_count, 'plugins', 'buddypress' ), number_format_i18n( $all_count ) ); ?></a> | </li> -
src/bp-groups/bp-groups-admin.php
177 177 // Add accessible hidden heading and text for Groups screen pagination. 178 178 if ( bp_get_major_wp_version() >= 4.4 ) { 179 179 get_current_screen()->set_screen_reader_content( array( 180 /* translators: accessibility text */ 180 181 'heading_pagination' => __( 'Groups list navigation', 'buddypress' ), 181 182 ) ); 182 183 } -
src/bp-groups/classes/class-bp-groups-list-table.php
284 284 public function get_views() { 285 285 $url_base = bp_get_admin_url( 'admin.php?page=bp-groups' ); ?> 286 286 287 <h2 class="screen-reader-text"><?php _e( 'Filter groups list', 'buddypress' ); ?></h2> 287 <h2 class="screen-reader-text"><?php 288 /* translators: accessibility text */ 289 _e( 'Filter groups list', 'buddypress' ); 290 ?></h2> 288 291 289 292 <ul class="subsubsub"> 290 293 <li class="all"><a href="<?php echo esc_url( $url_base ); ?>" class="<?php if ( 'all' == $this->view ) echo 'current'; ?>"><?php _e( 'All', 'buddypress' ); ?></a> |</li> -
src/bp-members/classes/class-bp-members-admin.php
1451 1451 // Add accessible hidden headings and text for the Pending Users screen. 1452 1452 if ( bp_get_major_wp_version() >= 4.4 ) { 1453 1453 get_current_screen()->set_screen_reader_content( array( 1454 /* translators: accessibility text */ 1454 1455 'heading_views' => __( 'Filter users list', 'buddypress' ), 1456 /* translators: accessibility text */ 1455 1457 'heading_pagination' => __( 'Pending users list navigation', 'buddypress' ), 1458 /* translators: accessibility text */ 1456 1459 'heading_list' => __( 'Pending users list', 'buddypress' ), 1457 1460 ) ); 1458 1461 }