WordPress.org

Make WordPress Core

Changeset 27834


Ignore:
Timestamp:
03/29/2014 03:38:39 AM (5 years ago)
Author:
nacin
Message:

Use correct column name. See [27152].

props barry.
fixes #25545.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-functions.php

    r27801 r27834  
    277277        $reassign = (int) $reassign;
    278278        $post_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_author = %d", $user_id ) );
    279         $link_ids = $wpdb->get_col( $wpdb->prepare( "SELECT ID FROM $wpdb->links WHERE link_owner = %d", $user_id ) );
     279        $link_ids = $wpdb->get_col( $wpdb->prepare( "SELECT link_id FROM $wpdb->links WHERE link_owner = %d", $user_id ) );
    280280
    281281        if ( ! empty( $post_ids ) ) {
Note: See TracChangeset for help on using the changeset viewer.