Make WordPress Core

Changeset 10393


Ignore:
Timestamp:
01/21/2009 07:02:15 PM (15 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

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

    r10293 r10393  
    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.