WordPress 3.9 and PHP 5.5 does not support mysql_*
-
After upgrading to WordPress 3.9 and testing out PHP 5.5, I found that there are some references to
mysql_real_escape_string()
in your code, changing to$wpdb->escape()
resolves the issue.Thanks!
./plugins/wordfence/lib/wordfenceURLHoover.php: mysql_real_escape_string($elem['owner']), ./plugins/wordfence/lib/wordfenceURLHoover.php: mysql_real_escape_string($elem['host']), ./plugins/wordfence/lib/wordfenceURLHoover.php: mysql_real_escape_string($elem['path']), ./plugins/wordfence/lib/wordfenceURLHoover.php: mysql_real_escape_string($elem['hostKey'])
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WordPress 3.9 and PHP 5.5 does not support mysql_*’ is closed to new replies.