From abd470b3498056b76ccba80297607c2a6f410512 Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Mon, 18 Aug 2014 02:18:21 +1000 Subject: [PATCH] Remove calendar posts check --- templates/event-calendar.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/templates/event-calendar.php b/templates/event-calendar.php index 386dc327..ed67d88b 100644 --- a/templates/event-calendar.php +++ b/templates/event-calendar.php @@ -4,16 +4,12 @@ * * @author ThemeBoy * @package SportsPress/Templates - * @version 1.1 + * @version 1.3 */ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly -global $wpdb, $m, $monthnum, $year, $wp_locale, $posts; - -// Quick check. If we have no posts at all, abort! -if ( ! $posts ) - return; +global $wpdb, $m, $monthnum, $year, $wp_locale; $defaults = array( 'id' => null,