[wp-trac] [WordPress Trac] #41931: Not possible to add custom display_name option
WordPress Trac
noreply at wordpress.org
Wed Sep 20 15:42:29 UTC 2017
#41931: Not possible to add custom display_name option
----------------------------+-----------------------------
Reporter: xinne | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.8.2
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
In The Netherlands we do have insertion names, to be placed in between the
first and last name. It is possible to add a custom field during
registration, but in order to give the user the option to include the
insertion name in his display_name, a core modification is necessary.
Hereby the request to add a line to wp-admin/user-edit.php at line 422:
{{{#!php
<?php
$public_display = apply_filters( 'edit_user_public_display_dropdown',
$public_display, $profileuser);
}}}
This way, it is possible to add custom public_display options.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41931>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list