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:
parent
efbe42fc1c
commit
efa71cfe2c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user