#7416 closed defect (bug) (fixed)
SQL typo in wp-admin/includes/user.php
| Reported by: | docwhat | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 2.6.1 |
| Component: | Administration | Version: | 2.6 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
On line 262 of wp-admin/include/user.php there is a trailing } in the SQL.
The line reads:
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d}", $reassign, $id) );
But should be:
$wpdb->query( $wpdb->prepare("UPDATE $wpdb->links SET link_owner = %d WHERE link_owner = %d", $reassign, $id) );
Ciao!
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [8467]) Remove extra } from query. Fixes #7416 for trunk.