WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r10415 r9699  
    143143        $update = true;
    144144
    145     if ( trim( $link_name ) == '' ) {
    146         if ( trim( $link_url ) != '' ) {
    147             $link_name = $link_url;
    148         } else {
    149             return 0;
    150         }
    151     }
     145    if ( trim( $link_name ) == '' )
     146        return 0;
    152147
    153148    if ( trim( $link_url ) == '' )
Note: See TracChangeset for help on using the changeset viewer.