New wpdb::prepare() notice appearing in WordPress 3.9-beta2
fjarrett opened this issue · comments
It appears that 3.9 now requires that when using wpdb::prepare()
at least one placeholder must exist in the SQL query (first argument).
Notice: wpdb::prepare was called incorrectly. The query argument of wpdb::prepare() must have a placeholder. Please see Debugging in WordPress for more information. (This message was added in version 3.9.) in /srv/www/wordpress-trunk/wp-includes/functions.php on line 3049
There are several cases of this happening in includes/query.php
To reproduce the notice, you will need to make sure you exclude a specific user account in the Stream Settings > Exclude tab.
Will be fixed when #362 is merged