Remove chosen script from post author
This commit is contained in:
@@ -34,7 +34,7 @@ class SP_Admin_Assets {
|
||||
|
||||
$screen = get_current_screen();
|
||||
|
||||
if ( in_array( $screen->id, sp_get_screen_ids() ) || in_array( $screen->id, array( 'post', 'page', 'attachment' ) ) ) {
|
||||
if ( in_array( $screen->id, sp_get_screen_ids() ) ) {
|
||||
// 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