Remove calendar posts check

This commit is contained in:
Brian Miyaji
2014-08-18 02:18:21 +10:00
parent 95d6210ffd
commit abd470b349

View File

@@ -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,