Permalink
Browse files

Don't show plugin by line if no author. Props Denis-de-Bernardy. fixe…

…s #4632 for 2.7

git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 6585c2d commit 711c293c03ac05bd6daf298df1b5c57a05db4368 ryan committed Jan 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-admin/includes/plugin.php
@@ -121,7 +121,7 @@ function _get_plugin_data_markup_translate($plugin_data, $markup = true, $transl
else
$plugin_data['Title'] = $plugin_data['Name'];
- if ( ! empty($plugin_data['AuthorURI']) )
+ if ( ! empty($plugin_data['AuthorURI']) && ! empty($plugin_data['Author']) )
$plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . __( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
$plugin_data['Description'] = wptexturize( $plugin_data['Description'] );

0 comments on commit 711c293

Please sign in to comment.