Skip to content

Commit 532badd

Browse files
committed
remove limit consideration on any action schedule which might block the rollback.
1 parent db61248 commit 532badd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

inc/media_offload.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,9 +1932,6 @@ public static function get_image_count( $action, $refresh, $images = [] ) {
19321932
* @return mixed
19331933
*/
19341934
public static function schedule_action( $time, $hook, $args ) {
1935-
if ( self::$instance->settings->is_offload_limit_reached() ) {
1936-
return null;
1937-
}
19381935

19391936
// We use AS if available to avoid issues with WP Cron.
19401937
if ( function_exists( 'as_schedule_single_action' ) ) {

0 commit comments

Comments
 (0)