WordPress.org

Make WordPress Core

Changeset 5759


Ignore:
Timestamp:
06/25/2007 09:37:47 PM (14 years ago)
Author:
ryan
Message:

Change cat_name, cat_ID to name, term_id.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-links-opml.php

    r5640 r5759  
    3030
    3131foreach ((array) $cats as $cat) {
    32     $catname = apply_filters('link_category', $cat->cat_name);
     32    $catname = apply_filters('link_category', $cat->name);
    3333
    3434?>
     
    3636<?php
    3737
    38     $bookmarks = get_bookmarks("category={$cat->cat_ID}");
     38    $bookmarks = get_bookmarks("category={$cat->term_id}");
    3939    foreach ((array) $bookmarks as $bookmark) {
    4040        $title = attribute_escape(apply_filters('link_title', $bookmark->link_name));
Note: See TracChangeset for help on using the changeset viewer.