• Resolved Hackbard23

    (@hackbard23)


    Please remove useless code from:
    /woocommerce-products-filter/index.php:32

     if ($_SERVER['REMOTE_ADDR'] != '2.xxx.83.xxx') {
         //return;
     }

    and

    /woocommerce-products-filter/classes/storage.php:28

    
    $this->user_ip = filter_var($_SERVER['REMOTE_ADDR'], FILTER_VALIDATE_IP);
    

    Maybe an @ before?

    This couses warnings in Cronjobs.

    • This topic was modified 5 years, 1 month ago by Hackbard23.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Code Cleanup’ is closed to new replies.