Old code being served up

[ad_1]

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: 
Template: Avada
Author: ThemeFusion
Author URI: 
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

Many

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

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

OK, I understand, many hanks

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer