xwp / stream

🗄️ Stream plugin for WordPress

Home Page:https://wordpress.org/plugins/stream/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

screen_shot_2014-03-22_at_1_15_32_pm

screen shot 2014-03-22 at 12 09 15 pm

screen shot 2014-03-22 at 12 49 54 pm

Will be fixed when #362 is merged