[wp-trac] [WordPress Trac] #22262: Possible invalid uses of wpdb::prepare()
WordPress Trac
noreply at wordpress.org
Wed Dec 12 16:33:08 UTC 2012
#22262: Possible invalid uses of wpdb::prepare()
--------------------------+---------------------
Reporter: xknown | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Database | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+---------------------
Comment (by Otto42):
Looks like somebody didn't tell Akismet. In Akismet admin.php:
{{{
$waiting = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM
$wpdb->commentmeta WHERE meta_key = 'akismet_error'" ) );
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22262#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list