src/wp-admin/includes/class-wp-list-table.php | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/wp-admin/includes/class-wp-list-table.php b/src/wp-admin/includes/class-wp-list-table.php
index ef6b633a3a..90174f82e2 100644
a
|
b
|
foreach ( $this->modes as $mode => $title ) { |
800 | 800 | $total_pages_after = '</span></span>'; |
801 | 801 | |
802 | 802 | $disable_first = $disable_last = $disable_prev = $disable_next = false; |
803 | | |
| 803 | |
804 | 804 | if ( $current == 1 ) { |
805 | 805 | $disable_first = true; |
806 | | $disable_prev = true; |
807 | | } |
808 | | if ( $current == 2 ) { |
809 | | $disable_first = true; |
| 806 | $disable_prev = true; |
810 | 807 | } |
811 | 808 | if ( $current == $total_pages ) { |
812 | 809 | $disable_last = true; |
813 | 810 | $disable_next = true; |
814 | 811 | } |
815 | | if ( $current == $total_pages - 1 ) { |
816 | | $disable_last = true; |
817 | | } |
818 | 812 | |
819 | 813 | if ( $disable_first ) { |
820 | 814 | $page_links[] = '<span class="tablenav-pages-navspan" aria-hidden="true">«</span>'; |