From 6530c57d4054e4b5b79fbd27c93fb8abf11e8a01 Mon Sep 17 00:00:00 2001 From: savvasha Date: Wed, 10 Apr 2019 18:53:31 +0300 Subject: [PATCH] Revert "Fix query single post in event blocks" This reverts commit 38acce0dd7215517480bbd0840400af0efdc3338. --- includes/class-sp-calendar.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/class-sp-calendar.php b/includes/class-sp-calendar.php index a5f9167e..a4332735 100644 --- a/includes/class-sp-calendar.php +++ b/includes/class-sp-calendar.php @@ -399,7 +399,6 @@ class SP_Calendar extends SP_Secondary_Post { if ( $this->event) { $args['p'] = $this->event; - $args['post_status'] = 'any'; } if ( 'auto' === $this->date && 'any' === $this->status ) {