[wp-trac] [WordPress Trac] #12295: More support to customize user profile edit page

WordPress Trac noreply at wordpress.org
Thu Apr 11 01:42:42 UTC 2013


#12295: More support to customize user profile edit page
-------------------------------------------------+-------------------------
 Reporter:  pampfelimetten                       |       Owner:  nacin
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  3.6
Component:  Users                                |     Version:  3.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |
  feedback 3.5-early                             |
-------------------------------------------------+-------------------------

Comment (by ericlewis):

 in [attachment:12295.5.diff]:
 * Move $user_can_edit into _wp_get_user_personal_options to avoid
 spaghetti code; also removes necessity of a parameter for
 _wp_get_user_personal_options()
 * Move all global definitions to begin _wp_get_user_personal_options()
 * Fix escaping 'scope' attribute of table headers, add scope element for
 comment_shortcuts (to avoid PHP notice)
 * Remove user_label_add_required() and associated filter - this wasn't in
 the scope of this ticket.
 * Modify _wp_get_user_namefields() to return a multidimensional array;
 restores disabled attr to username field

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12295#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list