• Resolved DaveWP196

    (@davewp196)


    Hi

    On line 138 in script-blocker.php, there is a coding error in so far as !$this->script_data returns true where an empty array is returned by $this->get_script_data().

    The effect is to make multiple calls to the $this->get_script_data for each entry in global $wt_cli_integration_list, which triggers multiple “SHOW TABLES” sql requests when only one search of the database is required.

    Change the line to be

    if ( is_null($this->script_data) ) {

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @davewp196,

    Greetings from CookieYes!

    Thank you for taking the time to bring this to our attention. We will thoroughly review the code and keep you updated on any updates or changes. If you have any further questions or concerns, please don’t hesitate to reach out to us.

    Plugin Support CookieYes Team

    (@cookieyesteam)

    Hi @davewp196,

    After carefully considering your recommendation, we agree with it and appreciate you bringing it to our attention.

    We have added it to our development queue, and it will be implemented in an upcoming release of the plugin.

    Feel free to let us know if you have questions or concerns!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Script Blocker – coding error’ is closed to new replies.