• Resolved glutenfreerecipebox

    (@glutenfreerecipebox)


    Can you please tell me if the following code that I added to my child theme’s function.php file is causing your latest update to recognize the file as outdated? I can’t find any updates for this theme. Therefore, I’m not sure why after I applied the update that I’m getting the out of date file message or why it says that there are outdated Woocommerce files in my theme. Here is the code:

    /** 
     *Reduce the strength requirement on the woocommerce password.
     * 
     * Strength Settings
     * 3 = Strong (default)
     * 2 = Medium
     * 1 = Weak
     * 0 = Very Weak / Anything
     */
    function reduce_woocommerce_min_strength_requirement( $strength ) {
        return 2;
    }
    add_filter( 'woocommerce_min_password_strength', 'reduce_woocommerce_min_strength_requirement' );
    
    remove_action( 'wp_head', 'wp_generator' ); 
    
    // The above line removes WP Generator Meta Tag as suggested by security plugin
    
    ?>

    Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    WooCommerce will not look at your functions.php file at all.

    Your theme is bundling files that are WooCommerce templates. They would be found in a folder in your theme called WooCommerce. There are version numbers in the template files, and WooCommerce checks those in y our theme against the numbers in the WooCommerce plugin and if they are behind, displays the message you are seeing.

    Hopefully that helps! Have a great one!

    Thread Starter glutenfreerecipebox

    (@glutenfreerecipebox)

    @slash1andy

    Thank you so much! I had some test an order with a 100% coupon and it worked just fine, but I was still concerned.

    That must be it! The two files that my theme created were email related. I’ll just ignore. Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Woocommerce & WordPress Twenty Seventeen’ is closed to new replies.