diff --git a/actions.php b/actions.php index 4090caa8..d4cb7e39 100644 --- a/actions.php +++ b/actions.php @@ -78,7 +78,7 @@ function sp_restrict_manage_posts() { ); sp_dropdown_taxonomies( $args ); endif; - if ( in_array( $typenow, array( 'sp_team', 'sp_event', 'sp_player', 'sp_tournament', 'sp_venue' ) ) ): + if ( in_array( $typenow, array( 'sp_team', 'sp_event', 'sp_player' ) ) ): $selected = isset( $_REQUEST['sp_sponsor'] ) ? $_REQUEST['sp_sponsor'] : null; $args = array( 'show_option_all' => sprintf( __( 'All %s', 'sportspress' ), __( 'Sponsors', 'sportspress' ) ), diff --git a/event.php b/event.php index b338bc0a..47e6db32 100644 --- a/event.php +++ b/event.php @@ -9,7 +9,7 @@ function sp_event_cpt_init() { 'labels' => $labels, 'public' => true, 'hierarchical' => false, - 'supports' => array( 'title', 'author', 'comments', 'page-attributes' ), + 'supports' => array( 'title', 'author', 'comments' ), 'register_meta_box_cb' => 'sp_event_meta_init', 'rewrite' => array( 'slug' => 'event' ) ); diff --git a/filters.php b/filters.php index 1de07be8..4566cf0d 100644 --- a/filters.php +++ b/filters.php @@ -1,6 +1,6 @@ $labels, 'public' => true, 'hierarchical' => false, - 'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes' ), + 'supports' => array( 'title', 'author', 'thumbnail' ), 'register_meta_box_cb' => 'sp_player_meta_init', 'rewrite' => array( 'slug' => 'player' ) ); diff --git a/settings.php b/settings.php index ffd94b85..9a40ceaf 100644 --- a/settings.php +++ b/settings.php @@ -25,8 +25,6 @@ function sportspress_settings( $tab = '' ) { $tab = $_GET[ 'tab' ]; } else if( $tab == 'stats' ) { $tab = 'stats'; - } else if( $tab == 'input_examples' ) { - $tab = 'input_examples'; } else { $tab = 'display_options'; } @@ -35,7 +33,6 @@ function sportspress_settings( $tab = '' ) {