• Resolved timholz

    (@timholz)


    Hi – Thanks for the update and the new features.
    I discovered some notices coming from autoptimizeExtra.php.
    I changed the code to:

    /* disable emojis */
        if (isset($autoptimize_extra_options['autoptimize_extra_checkbox_field_1'])) {
            autoptimize_extra_disable_emojis();
        }
        
        /* remove version from query string */
        if (isset($autoptimize_extra_options['autoptimize_extra_checkbox_field_0'])) {
            add_filter( 'script_loader_src', 'autoptimize_extra_remove_qs', 15, 1 );
            add_filter( 'style_loader_src', 'autoptimize_extra_remove_qs', 15, 1 );
        }

    Further down the file there are two more instances where this applies.
    It’s where the checkboxes are, somewhere around line 284 and 290.
    With these changes the notices are gone. I hope i did’t do something wrong.
    regards
    theo

    • This topic was modified 6 years, 10 months ago by timholz.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘notices in autoptimizeExtra.php’ is closed to new replies.