[wp-trac] [WordPress Trac] #13075: *_metadata() functions do not clear the users cache

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 22 21:57:52 UTC 2010


#13075: *_metadata() functions do not clear the users cache
--------------------------+-------------------------------------------------
 Reporter:  ryan          |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  low           |    Milestone:  3.0     
Component:  Users         |      Version:          
 Severity:  normal        |   Resolution:          
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by nacin):

 > Maybe those checks would have been better placed in update_user_meta()
 ...

 I think I disagree. I would think that metadata functions should work
 exactly like the user, post, and comment wrappers. Thus, any object-
 specific code should be in the metadata API.

 That said, I like using hooks. That also leads me to thinking about
 #11254.

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


More information about the wp-trac mailing list