Changeset 6020

Show
Ignore:
Timestamp:
09/03/07 16:55:10 (1 year ago)
Author:
markjaquith
Message:

trim() plugin URL before deciding whether to show a link. props Gary King. fixes #4633

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/plugin.php

    r5867 r6020  
    1919    $name = trim( $name ); 
    2020    $plugin = $name; 
    21     if ('' != $plugin_uri[1] && '' != $name ) { 
     21    if ('' != trim($plugin_uri[1]) && '' != $name ) { 
    2222        $plugin = '<a href="' . trim( $plugin_uri[1] ) . '" title="'.__( 'Visit plugin homepage' ).'">'.$plugin.'</a>'; 
    2323    }