Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter joncampbell

    (@joncampbell)

    For some reason the css file that is being autoptimized isn’t in the tags that run through

    if ($this->isremovable($tag,$this->cssremovables)) {
    }

    that happens within the read() method of autoptimizeStyles.php

    I output each $tag within the isremovable() method and the tag for desktop.css doesn’t seem to show up, but that file does get optimized anyway?

    What am I missing?

    Thread Starter joncampbell

    (@joncampbell)

    We had to turn the plugin off because of the issues.
    I am just testing it on my local.

    It seems to ignore any of the theme css files I put in the exclude box.

    Heres what I have in there right now:
    admin-bar.min.css, dashicons.min.css, assets/css/desktop, mobile-landscape.css, tablet-portrait.css

    But desktop.css, mobile-landscape.css, and tablet-portrait.css are all still being combined and optimized.

    I have cleared the cache when saving and also manually on the specific page.
    Tomorrow I may look and see if i can get any info out of the plugins filters that gives me more details about why the exclusion isn’t happening.

    You should make it so the plugin disables itself if the woo version is not compatible with the plugin, that way sites don’t end up breaking if they use your plugin with an old version of woo.

Viewing 3 replies - 16 through 18 (of 18 total)