gyrus / WordPress-Developers-Custom-Fields

A plugin to provide WordPress developers with tools for managing custom fields. Check the WP repository link below for the source - GitHub currently only used for issue tracking.
http://wordpress.org/extend/plugins/developers-custom-fields/
51 stars 11 forks source link

Formatting output of 'options_type' => 'users' #11

Open tomvdv opened 12 years ago

tomvdv commented 12 years ago

When listing users ( 'options_type' => 'users' ), it would be useful to specify the format in which these are listed on the backend. At the moment it shows usernames, which are often somewhat cryptic. Less technically-inclined administrators would no doubt prefer full names (e.g. user_nicename).

gyrus commented 12 years ago

I think user_nicename is just a sanitized version of the username. Maybe you're thinking of display_name? That would be better, but it may not be unique, making accurate selection potentially tricky!

I guess the best format would be: display_name [user_nicename] - and sure, it should be easy to add a few variants you can pick from.

I'll flag this as a feature request and get it into the next release.

tomvdv commented 12 years ago

display_name [user_nicename] sounds ideal. Thanks!