Problem/Motivation
When editing a node, the authoring information displays the user account name, the display name should be used instead.
Steps to reproduce
In an installation with some module that implements hook_user_format_name_alter implementation, like Real Name module, edit any existing node. The account name is always used as the author name in the node status information, even for users with a different display name.
Proposed resolution
Replace the current call to AccountInterface::getAccountName() by AccountInterface::getDisplayName().
Remaining tasks
Review, tests.
User interface changes
As described in description.
API changes
N/A
Data model changes
N/A
Release notes snippet
N/A