Revert "Fix query single post in event blocks"

This reverts commit 38acce0dd7.
This commit is contained in:
savvasha
2019-04-10 18:53:31 +03:00
parent 38acce0dd7
commit 6530c57d40

View File

@@ -399,7 +399,6 @@ class SP_Calendar extends SP_Secondary_Post {
if ( $this->event) { if ( $this->event) {
$args['p'] = $this->event; $args['p'] = $this->event;
$args['post_status'] = 'any';
} }
if ( 'auto' === $this->date && 'any' === $this->status ) { if ( 'auto' === $this->date && 'any' === $this->status ) {