Skip to content

Commit 5994f86

Browse files
committed
Fix php error with arbitrary statement in empty
1 parent a8894f1 commit 5994f86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin/class-nginx-helper-admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ public function unset_future_post_option_on_delete( $post_id ) {
602602
! $this->options['enable_purge'] ||
603603
empty( $this->options['future_posts'] ) ||
604604
empty( $this->options['future_posts'][ $blog_id ] ) ||
605-
empty( isset( $this->options['future_posts'][ $blog_id ][ $post_id ] ) ) ||
605+
isset( $this->options['future_posts'][ $blog_id ][ $post_id ] ) ||
606606
wp_is_post_revision( $post_id )
607607
) {
608608
return;

0 commit comments

Comments
 (0)