[wp-trac] [WordPress Trac] #20637: Change default display name for new users
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 16 22:25:12 UTC 2012
#20637: Change default display name for new users
------------------------------------------------+------------------------
Reporter: mikelittle | Owner: nacin
Type: enhancement | Status: reviewing
Priority: normal | Milestone: 3.5
Component: Users | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch ux-feedback dev-feedback |
------------------------------------------------+------------------------
Comment (by nacin):
As the various pre_user_* filters are designed to complement the same
filters in sanitize_user_field(), we probably shouldn't try to overload it
otherwise. The patch also will never work, because $display_name is set to
$user_login before getting passed to the filter, which means
empty($display_name) in _wp_pre_user_display_name() will never be true.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20637#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list