mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-30 23:30:05 +00:00
Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10393 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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'] );
|
||||
|
||||
Reference in New Issue
Block a user