• Resolved nelsonleemiller

    (@nelsonleemiller)


    After updating from 4.1 to 4.2, the WooCommerce>Orders search does not work when searching email. I verified this on several sites. Please fix ASAP.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author SearchIQ

    (@searchiq)

    We are checking the issue you mentioned and will update you.

    Plugin Author SearchIQ

    (@searchiq)

    Hi,
    We have added some checks in the plugin for Mitigating Site Search Vulnerabilities. These checks don’t allow searching through sensitive and vulnerable information like URLs, email addresses, phone numbers, credit card numbers, and certain types of characters. These are added to adhere to high-security standards w.r.t to personal data.

    That is the reason your Woocommerce search appears broken. One possible way of handling this is to search for partial text addresses, like if you want to search for an email address ‘hello@gmail.com’, you can search for ‘hello@gmail’ instead. Similarly, for URLs, you can search for ‘example.com’ instead of ‘https://www.example.com’.

    Apart from these suggestions, if you like to search using a complete email or domain, please add the following code in the functions.php file of your current active theme and it’ll disable these checks.

    global $siq_plugin;
    if( !empty( $siq_plugin ) ){
    remove_action( ‘pre_get_posts’, array( $siq_plugin, ‘filter_search_query’) );
    }

    Thread Starter nelsonleemiller

    (@nelsonleemiller)

    I think it would be better to have a setting to disable the backend search like in WooCommerce orders. Why would your plugin be affecting the default search ability in Woo? That doesn’t make sense to me. This will literally affect every user who happens to have your plugin and Woo installed.

    Plugin Author SearchIQ

    (@searchiq)

    We are sorry for the inconvenience and will surely provide a solution for it. For now, please add the code we provided in the functions.php file.

    Plugin Author SearchIQ

    (@searchiq)

    We are releasing a fix for the issue and you can download the new plugin version in a couple of hours.

    Plugin Author SearchIQ

    (@searchiq)

    We have rolled back the changes. and released a new plugin version 4.4. Please update to the latest version and check.

    Thread Starter nelsonleemiller

    (@nelsonleemiller)

    Thank you!

    Plugin Author SearchIQ

    (@searchiq)

    Great to know the issue is resolved. Please feel free to contact us if you have any questions.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘4.2 Update Breaks Woo Orders Search’ is closed to new replies.