WordPress.org

Make WordPress Core

Changeset 10394


Ignore:
Timestamp:
01/21/09 19:02:26 (5 years ago)
Author:
ryan
Message:

Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for 2.7

File:
1 edited

Legend:

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

    r10150 r10394  
    122122            $plugin_data['Title'] = $plugin_data['Name']; 
    123123 
    124         if ( ! empty($plugin_data['AuthorURI']) ) 
     124        if ( ! empty($plugin_data['AuthorURI']) && ! empty($plugin_data['Author']) ) 
    125125            $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>'; 
    126126 
Note: See TracChangeset for help on using the changeset viewer.