Changeset 58374
- Timestamp:
- 06/10/2024 04:45:39 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r57648 r58374 636 636 } 637 637 638 if ( isset( $_REQUEST['action'] ) && -1 != $_REQUEST['action'] ) {638 if ( isset( $_REQUEST['action'] ) && '-1' !== $_REQUEST['action'] ) { 639 639 return $_REQUEST['action']; 640 640 } … … 754 754 $month_count = count( $months ); 755 755 756 if ( ! $month_count || ( 1 == $month_count && 0 ==$months[0]->month ) ) {756 if ( ! $month_count || ( 1 === $month_count && 0 === (int) $months[0]->month ) ) { 757 757 return; 758 758 } … … 765 765 <?php 766 766 foreach ( $months as $arc_row ) { 767 if ( 0 == $arc_row->year ) {767 if ( 0 === (int) $arc_row->year ) { 768 768 continue; 769 769 } … … 1054 1054 $disable_next = false; 1055 1055 1056 if ( 1 == $current ) {1056 if ( 1 === $current ) { 1057 1057 $disable_first = true; 1058 1058 $disable_prev = true; 1059 1059 } 1060 if ( $total_pages == $current ) {1060 if ( $total_pages === $current ) { 1061 1061 $disable_last = true; 1062 1062 $disable_next = true;
Note: See TracChangeset
for help on using the changeset viewer.