Set AuthorName even when no translation or markup is processed. see #15662.

git-svn-id: https://develop.svn.wordpress.org/trunk@16758 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-12-06 21:18:18 +00:00
parent efbe42fc1c
commit efa71cfe2c
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ function get_plugin_data( $plugin_file, $markup = true, $translate = true ) {
if ( $markup || $translate )
$plugin_data = _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup, $translate );
else
$plugin_data['AuthorName'] = $plugin_data['Author'];
return $plugin_data;
}