- Timestamp:
- 08/19/2021 12:43:03 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r50804 r51638 79 79 $not_in = array(); 80 80 81 foreach ( _get_cron_array() as $cron ) { 82 if ( isset( $cron['upgrader_scheduled_cleanup'] ) ) { 83 $details = reset( $cron['upgrader_scheduled_cleanup'] ); 84 85 if ( ! empty( $details['args'][0] ) ) { 86 $not_in[] = (int) $details['args'][0]; 81 $crons = _get_cron_array(); 82 83 if ( is_array( $crons ) ) { 84 foreach ( $crons as $cron ) { 85 if ( isset( $cron['upgrader_scheduled_cleanup'] ) ) { 86 $details = reset( $cron['upgrader_scheduled_cleanup'] ); 87 88 if ( ! empty( $details['args'][0] ) ) { 89 $not_in[] = (int) $details['args'][0]; 90 } 87 91 } 88 92 }
Note: See TracChangeset
for help on using the changeset viewer.