Changeset 10462
- Timestamp:
- 01/25/2016 09:25:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-admin.php
r10454 r10462 174 174 '<p>' . __( '<a href="https://buddypress.org/support/">Support Forums</a>', 'buddypress' ) . '</p>' 175 175 ); 176 177 // Add accessible hidden heading and text for Groups screen pagination. 178 if ( bp_get_major_wp_version() >= 4.4 ) { 179 get_current_screen()->set_screen_reader_content( array( 180 'heading_pagination' => __( 'Groups list navigation', 'buddypress' ), 181 ) ); 182 } 176 183 } 177 184 … … 1323 1330 $this->display_tablenav( 'top' ); ?> 1324 1331 1332 <h2 class="screen-reader-text"><?php _e( 'Groups list', 'buddypress' ); ?></h2> 1333 1325 1334 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>" cellspacing="0"> 1326 1335 <thead> … … 1388 1397 public function get_views() { 1389 1398 $url_base = bp_get_admin_url( 'admin.php?page=bp-groups' ); ?> 1399 1400 <h2 class="screen-reader-text"><?php _e( 'Filter groups list', 'buddypress' ); ?></h2> 1390 1401 1391 1402 <ul class="subsubsub">
Note: See TracChangeset
for help on using the changeset viewer.