WordPress.org

Make WordPress Core

Ticket #3226: 3226.patch

File 3226.patch, 960 bytes (added by foolswisdom, 8 years ago)

Fixes ticket:3226, regression caused by typo in ticket:2587 [4263]

  • wp-includes/bookmark-template.php

     
    330330                $cats = get_categories("type=link&category_name=$category_name&include=$category&orderby=$category_orderby&order=$category_order&hierarchical=0"); 
    331331 
    332332                foreach ( (array) $cats as $cat ) { 
    333                         $bookmarks = get_bookmarks("limit=$limit&category={$cat->cat_ID}&show_updated=$show_updated&orderby=$orderby&order=$order&hide_invisible=$hide_inivisible&show_updated=$show_updated"); 
     333                        $bookmarks = get_bookmarks("limit=$limit&category={$cat->cat_ID}&show_updated=$show_updated&orderby=$orderby&order=$order&hide_invisible=$hide_invisible&show_updated=$show_updated"); 
    334334                        if ( empty($bookmarks) ) 
    335335                                continue; 
    336336                        $output .= "<li id='linkcat-$cat->cat_ID' class='linkcat'>$title_before$cat->cat_name$title_after\n\t<ul>\n";