• Not sure if this is actively maintained now, but if you need to support it under PHP7, there is a relatively simple change you can make (beware of the plugin being overwritten by auto-updating in future…)

    On line 50, change:

    $qstr = mysql_real_escape_string($_GET[“s”]);

    to:

    $qstr = esc_attr($_GET[“s”]);

Viewing 1 replies (of 1 total)
  • I’d recommend this change instead to line 50, to preserve SQL injection protection:

    $qstr = $wpdb->_real_escape($_GET["s"]);

    Tested with WordPress 4.9.8 running on PHP 5.6.

    • This reply was modified 6 years, 2 months ago by BertPC.
Viewing 1 replies (of 1 total)
  • The topic ‘Solution to get this working under PHP7’ is closed to new replies.