WordPress.org

Make WordPress Core

Ticket #4347: 5560-bug.diff

File 5560-bug.diff, 635 bytes (added by flinkflonk, 11 years ago)
  • wp-includes/bookmark.php

     
    7676                $exclusions .= ')';
    7777
    7878        if ( ! empty($category_name) ) {
    79                 if ( $category = get_term_by('name', $category_name, 'link_category') );
     79                if ( $category = get_term_by('name', $category_name, 'link_category') ) 
    8080                        $category = $category->term_id;
    8181        }
    8282
     
    149149add_action( 'edit_link', 'delete_get_bookmark_cache' );
    150150add_action( 'delete_link', 'delete_get_bookmark_cache' );
    151151
    152 ?>
    153  No newline at end of file
     152?>