Permanent fix for Post Author select is broken #273 issue
This commit is contained in:
@@ -33,8 +33,8 @@ class SP_Admin_Assets {
|
||||
wp_enqueue_style( 'sportspress-admin-menu-styles', SP()->plugin_url() . '/assets/css/menu.css', array(), SP_VERSION );
|
||||
|
||||
$screen = get_current_screen();
|
||||
|
||||
if ( in_array( $screen->id, sp_get_screen_ids() ) ) {
|
||||
|
||||
if ( in_array( $screen->id, sp_get_screen_ids() ) || in_array( $screen->id, array( 'post', 'page', 'attachment' ) ) ) {
|
||||
// Admin styles for SP pages only
|
||||
wp_enqueue_style( 'jquery-chosen', SP()->plugin_url() . '/assets/css/chosen.css', array(), '1.1.0' );
|
||||
wp_enqueue_style( 'wp-color-picker' );
|
||||
|
||||
Reference in New Issue
Block a user