[wp-hackers] Username Madness
William Canino
william.canino at googlemail.com
Tue Nov 3 16:09:58 UTC 2009
My (real) first and last name is 'Bedžet Taseski'
My nickname is 'Bedžet the Russian'.
My user_login is 'admin' (cannot be changed)
My user_nicename is 'bedzet' (http://blog.com/author/bedzet)
My display_name is 'Bedžet the Russian' (output of the_author() )
Only nicename is guaranteed URL safe. Also, some cultures write their
name as 'lastname + firstname'.
What is the confusion?
-1 on redefining display_name. Deprecate it, if you want. Don't redefine it.
Thank you,
W
2009/11/3 scribu <scribu at gmail.com>:
> Currently, in the wp_users table, there are 3 fields for the user name:
>
> user_login
> user_nicename
> display_name
>
> Besides those, we have two fields in wp_usermeta:
>
> first_name
> last_name
>
>
> Instead of retaining a value, display_name should only remember the user
> preference:
>
> 1 - user_login
> 2 - user_nicename
> 3 - first_name + last_name
>
> with 2 as the default value.
>
>
> Any thoughts?
>
> --
> http://scribu.net
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list