Simplify fix for events other than publish and future being queried in calendar

This commit is contained in:
Brian Miyaji
2019-05-27 20:07:06 +10:00
parent 73b538e3a6
commit f49d282eb3
3 changed files with 3 additions and 5 deletions

View File

@@ -653,8 +653,7 @@ if ( !function_exists( 'sp_dropdown_statuses' ) ) {
$statuses = apply_filters( 'sportspress_statuses', array(
'any' => __( 'All', 'sportspress' ),
'publish' => __( 'Published', 'sportspress' ),
'future' => __( 'Scheduled', 'sportspress' ),
'publish,future' => __( 'Published + Scheduled', 'sportspress' )
'future' => __( 'Scheduled', 'sportspress' )
));
foreach ( $statuses as $value => $label ):