Remove calendar posts check
This commit is contained in:
@@ -4,16 +4,12 @@
|
|||||||
*
|
*
|
||||||
* @author ThemeBoy
|
* @author ThemeBoy
|
||||||
* @package SportsPress/Templates
|
* @package SportsPress/Templates
|
||||||
* @version 1.1
|
* @version 1.3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||||
|
|
||||||
global $wpdb, $m, $monthnum, $year, $wp_locale, $posts;
|
global $wpdb, $m, $monthnum, $year, $wp_locale;
|
||||||
|
|
||||||
// Quick check. If we have no posts at all, abort!
|
|
||||||
if ( ! $posts )
|
|
||||||
return;
|
|
||||||
|
|
||||||
$defaults = array(
|
$defaults = array(
|
||||||
'id' => null,
|
'id' => null,
|
||||||
|
|||||||
Reference in New Issue
Block a user