Make WordPress Core

Changeset 6020


Ignore:
Timestamp:
09/03/2007 04:55:10 PM (18 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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    }
Note: See TracChangeset for help on using the changeset viewer.