Changeset 47219 for trunk/src/wp-admin/includes/class-wp-list-table.php
- Timestamp:
- 02/09/2020 04:52:28 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r47122 r47219 831 831 $disable_next = false; 832 832 833 if ( $current == 1) {833 if ( 1 == $current ) { 834 834 $disable_first = true; 835 835 $disable_prev = true; 836 836 } 837 if ( $current == 2) {837 if ( 2 == $current ) { 838 838 $disable_first = true; 839 839 } 840 if ( $ current == $total_pages) {840 if ( $total_pages == $current ) { 841 841 $disable_last = true; 842 842 $disable_next = true; 843 843 } 844 if ( $ current == $total_pages - 1) {844 if ( $total_pages - 1 == $current ) { 845 845 $disable_last = true; 846 846 }
Note: See TracChangeset
for help on using the changeset viewer.