WordPress.org

Make WordPress Core

Changeset 8104


Ignore:
Timestamp:
06/16/08 22:19:34 (7 years ago)
Author:
ryan
Message:

category_name is not a valid arg. Use namelike. Props drdavid. fixes #6722 for trunk

File:
1 edited

Legend:

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

    r7990 r8104  
    204204    if ( $categorize ) { 
    205205        //Split the bookmarks into ul's for each category 
    206         $cats = get_terms('link_category', array('category_name' => $category_name, 'include' => $category, 'orderby' => $category_orderby, 'order' => $category_order, 'hierarchical' => 0)); 
     206        $cats = get_terms('link_category', array('name__like' => $category_name, 'include' => $category, 'orderby' => $category_orderby, 'order' => $category_order, 'hierarchical' => 0)); 
    207207 
    208208        foreach ( (array) $cats as $cat ) { 
Note: See TracChangeset for help on using the changeset viewer.