WordPress.org

Make WordPress Core

Changeset 6353


Ignore:
Timestamp:
12/04/2007 11:59:16 PM (12 years ago)
Author:
ryan
Message:

Use correct var. Props DD32. fixes #5419

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark.php

    r6224 r6353  
    55
    66    $link = $wpdb->get_row($wpdb->prepare("SELECT * FROM $wpdb->links WHERE link_id = %d LIMIT 1", $bookmark_id));
    7     $link->link_category = array_unique( wp_get_object_terms($link_id, 'link_category', 'fields=ids') );
     7    $link->link_category = array_unique( wp_get_object_terms($link->link_id, 'link_category', 'fields=ids') );
    88
    99    $link = sanitize_bookmark($link, $filter);
Note: See TracChangeset for help on using the changeset viewer.