[wp-trac] [WordPress Trac] #41931: Not possible to add custom display_name option

WordPress Trac noreply at wordpress.org
Wed Sep 20 16:28:28 UTC 2017


#41931: Not possible to add custom display_name option
-----------------------------+------------------------------
 Reporter:  xinne            |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Users            |     Version:  4.8.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  administration
-----------------------------+------------------------------
Changes (by JPry):

 * keywords:   => has-patch


Comment:

 I've added a patch that includes a new filter
 `user_profile_public_display` and some formatting cleanup of the
 surrounding code.

 I would be up for adding unit tests if there is a particular example I
 should follow for filters.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41931#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list