Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

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