[wp-trac] [WordPress Trac] #24255: WP_User::__set doesn't persist custom fields as it claims

WordPress Trac noreply at wordpress.org
Mon May 6 07:20:07 UTC 2013


#24255: WP_User::__set doesn't persist custom fields as it claims
--------------------------+------------------------------
 Reporter:  quickshiftin  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by scribu):

 I think the bug here is that the description for `__set()` is vague. It
 should explicitly state that it does _not_ save custom fields to the DB.

 It would be interesting to add a `save()` method, which would go through
 all the fields and saves the changed ones.

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


More information about the wp-trac mailing list