[wp-trac] [WordPress Trac] #7416: SQL typo in
wp-admin/includes/user.php
WordPress Trac
wp-trac at lists.automattic.com
Sat Jul 26 23:05:19 GMT 2008
#7416: SQL typo in wp-admin/includes/user.php
----------------------------+-----------------------------------------------
Reporter: docwhat | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.7
Component: Administration | Version:
Severity: normal | Keywords: has-patch
----------------------------+-----------------------------------------------
On line 262 of wp-admin/include/user.php there is a trailing } in the SQL.
The line reads:
{{{
#!php
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner =
%d WHERE link_owner = %d}", $reassign, $id) );
}}}
But should be:
{{{
#!php
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner =
%d WHERE link_owner = %d", $reassign, $id) );
}}}
Ciao!
--
Ticket URL: <http://trac.wordpress.org/ticket/7416>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list