• I noticed an update was available this morning. I implemented WP Less within the last several days. My site is using LESS without any issues; however, the admin pages are not rendering properly. I can deactivate WP Less and everything returns to normal. Of course, I need it activated for the site, so what do I do in the meantime to correct the admin pages?

    Thanks,
    Bill

    https://wordpress.org/plugins/wp-less/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same issue here, but here’s how to resolve it.

    Here was how I enqueued the file before:

    add_action('init', 'theme_enqueue_styles');
    
    function theme_enqueue_styles() {
    	wp_enqueue_style('theme-main', get_stylesheet_directory_uri().'/style.less');
    }

    Filter this out of the admin this way:

    if ( ! is_admin() ) {
    add_action('init', 'theme_enqueue_styles');
    }
    Thread Starter bcunnien

    (@bcunnien)

    Excellent! Works nicely. Thanks!!

    Perfect! Thanks a ton @publicradio

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Updated to 1.7.5 — Admin Pages Wonky’ is closed to new replies.