Add and fix filters
This commit is contained in:
@@ -86,7 +86,7 @@ class SP_Admin_Menus {
|
||||
global $typenow;
|
||||
$screen = get_current_screen();
|
||||
if ( $screen->id == 'sp_role' ) {
|
||||
$this->highlight_admin_menu( 'edit.php?post_type=sp_staff', 'edit-tags.php?taxonomy=sp_role&post_type=sp_staff' );
|
||||
$this->highlight_admin_menu( 'edit.php?post_type=sp_staff', 'edit-tags.php?taxonomy=sp_role&post_type=sp_staff' );
|
||||
} elseif ( is_sp_config_type( $typenow ) ) {
|
||||
$this->highlight_admin_menu( 'sportspress', 'sportspress-config' );
|
||||
} elseif ( $typenow == 'sp_calendar' ) {
|
||||
|
||||
@@ -69,7 +69,7 @@ class SP_Meta_Box_Team_Details {
|
||||
'name' => 'tax_input[sp_season][]',
|
||||
'selected' => $season_ids,
|
||||
'values' => 'term_id',
|
||||
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Competitions', 'sportspress' ) ),
|
||||
'placeholder' => sprintf( __( 'Select %s', 'sportspress' ), __( 'Seasons', 'sportspress' ) ),
|
||||
'class' => 'widefat',
|
||||
'property' => 'multiple',
|
||||
'chosen' => true,
|
||||
|
||||
Reference in New Issue
Block a user