[wp-trac] [WordPress Trac] #53561: Posts publicly displaying my username even though I have selected a different name in profile settings.

WordPress Trac noreply at wordpress.org
Wed Jun 30 11:29:04 UTC 2021


#53561: Posts publicly displaying my username even though I have selected a
different name in profile settings.
--------------------------+-----------------------------
 Reporter:  gabrieldiggs  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.7.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The PHP in my post templates regarding author name to display on posts is

 <?php echo $author_name; ?>

 I have the "Display name publicly as" option in my user profile set to
 display my name "Gabriel Diggs"

 Instead my posts are now showing my WordPress username which is a security
 vulnerability because that is the name I use to login to my admin. I tried
 changing the name and re-saving my user profile but no matter what name I
 choose it only shows my login username on posts now. Is this a known
 issue?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53561>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list