• Resolved cullachie

    (@cullachie)


    We have been very happy with the speed benefits being provided by Autoptimize but recently we ran W3C Validation on our site and it came up with a lot of error entries mentioning Autoptimize.
    The most concerning is the first 3 lines which refer to edits that were done (to the functions.php?) file. But these edits were removed months ago.
    We have searched through CSS and functions.php but can find no mention of the code that was removed.
    If it’s of interest, an earlier W3C scan related it to a “fallback” file, but that no longer appears on the latest scan after we has de-activated the plugin and flushed every cache we could find.

    Here is a link to the scan result…
    W3C CSS Validator results for https://www.trapbarn.com (CSS level 3 + SVG)
    What can you suggest?

    • This topic was modified 3 years, 3 months ago by cullachie.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    when visiting the homepage with ?ao_noptimize=1&cachebuster=abz981 appended to the URL (which deactivates AO for that request) I indeed still see the faulty code;

    <style id=chld_thm_cfg_child-css media=all>/*
    Theme Name: Avada Child1
    Theme URI: http://avada.theme-fusion.com/
    Template: Avada
    Author: ThemeFusion
    Author URI: http://themeforest.net/user/ThemeFusion
    Description: The #1 selling theme of all time that allows you to build virtually any design style.
    Version: 6.2.3.1589448490
    Updated: 2020-05-14 10:28:10
    
    */
    add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
        function wcs_woo_remove_reviews_tab($tabs) {
        unset($tabs['reviews']);
        return $tabs;
    }
    */
    /**
     * Include cmb2
     */
    </style>

    this means (a) the code seems still to be added at some level and (b) this happens irrespective of AO being used or not.

    afraid you’ll have to hunt this down some more cullachie :-/

    frank

    Thread Starter cullachie

    (@cullachie)

    Many

    Thanks, I found that bad code but what about the other mentions involving Autoptimize?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, AO aggregates/ optimizes your site’s original CSS. Any error found in an Autoptimized CSS file can generally be traced to one of the original CSS files, see this report

    Thread Starter cullachie

    (@cullachie)

    OK, I understand, many hanks

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    you’re welcome 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Old code being served up’ is closed to new replies.