WordPress.org

Make WordPress Core

Ticket #22420: patch.patch

File patch.patch, 738 bytes (added by pross, 3 years ago)
  • wp-includes/bookmark-template.php

    diff --git wp-includes/bookmark-template.php wp-includes/bookmark-template.php
    index c27ce4a31a163bcbf0ea5bf0bf25fb569d65c788..1a9200b8fcabc61e529a50c3ec5a8e013e91651f 100644
    function wp_list_bookmarks($args = '') { 
    209209                'category_after' => '</li>' 
    210210        ); 
    211211 
    212         if ( empty( $args['category'] ) ) 
    213                 $args['categorize'] = 0; 
     212 
    214213 
    215214        $r = wp_parse_args( $args, $defaults ); 
    216215        extract( $r, EXTR_SKIP ); 
    217216 
     217        if ( empty( $args['category'] ) ) 
     218                $categorize = 0; 
     219         
    218220        $output = ''; 
    219221 
    220222        if ( $categorize ) { 
    function wp_list_bookmarks($args = '') { 
    253255        if ( !$echo ) 
    254256                return $output; 
    255257        echo $output; 
    256 } 
     258} 
     259 No newline at end of file