[wp-trac] [WordPress Trac] #14855: WP_User misses values for some default proerties (nickname, rich_editing)

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 12 12:16:22 UTC 2010


#14855: WP_User misses values for some default proerties (nickname, rich_editing)
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:                 
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------
 WP_User is expected to have default properties like last_name, ID etc.

 At least two of them are missing in the class definition:

  1. nickname
  2. rich_editing

 The attached patch adds them.

 /wp-admin/user-edit.php does Warnings / Notices if the properties are not
 set.

 This is the case for users in the database that have not set these fields
 as meta data.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14855>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list