Wrong URL for color styles
-
There’s an error in
wpadmin_classic()function which leads to an invalid URL for thecolors-classicstylesheet:<link rel='stylesheet' id='colors-classic-css' href='http://1?ver=3.8' type='text/css' media='all' />The solution:
- Add this line to the registration section before
colors-fresh-classic:wp_register_style('colors-classic', plugin_dir_url( __FILE__ ) . 'wp-admin-css/colors-classic.min.css'); - Add this line to the enqueueing section before
buttons-classic:wp_enqueue_style('wp-admin-classic');
Also,
ie-classicstylesheet is never loaded since [822703], even for IE7. This line should be restored in the enqueueing section:wp_enqueue_style('ie-classic'); - Add this line to the registration section before
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Wrong URL for color styles’ is closed to new replies.