Changeset 43019 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 04/29/2018 04:24:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r42871 r43019 818 818 819 819 if ( $disable_first ) { 820 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">«</span>';820 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">«</span>'; 821 821 } else { 822 822 $page_links[] = sprintf( 823 "<a class='first-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",823 "<a class='first-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 824 824 esc_url( remove_query_arg( 'paged', $current_url ) ), 825 825 __( 'First page' ), … … 829 829 830 830 if ( $disable_prev ) { 831 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">‹</span>';831 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">‹</span>'; 832 832 } else { 833 833 $page_links[] = sprintf( 834 "<a class='prev-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",834 "<a class='prev-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 835 835 esc_url( add_query_arg( 'paged', max( 1, $current - 1 ), $current_url ) ), 836 836 __( 'Previous page' ), … … 854 854 855 855 if ( $disable_next ) { 856 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">›</span>';856 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">›</span>'; 857 857 } else { 858 858 $page_links[] = sprintf( 859 "<a class='next-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",859 "<a class='next-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 860 860 esc_url( add_query_arg( 'paged', min( $total_pages, $current + 1 ), $current_url ) ), 861 861 __( 'Next page' ), … … 865 865 866 866 if ( $disable_last ) { 867 $page_links[] = '<span class="tablenav-pages-navspan " aria-hidden="true">»</span>';867 $page_links[] = '<span class="tablenav-pages-navspan button disabled" aria-hidden="true">»</span>'; 868 868 } else { 869 869 $page_links[] = sprintf( 870 "<a class='last-page ' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>",870 "<a class='last-page button' href='%s'><span class='screen-reader-text'>%s</span><span aria-hidden='true'>%s</span></a>", 871 871 esc_url( add_query_arg( 'paged', $total_pages, $current_url ) ), 872 872 __( 'Last page' ),
Note: See TracChangeset
for help on using the changeset viewer.