[wp-trac] [WordPress Trac] #24635: update_user_caches() should support accepting a WP_User instance

WordPress Trac noreply at wordpress.org
Mon Jun 24 08:22:19 UTC 2013


#24635: update_user_caches() should support accepting a WP_User instance
--------------------------+------------------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by dd32):

 PHPDoc untouched, Worth noting that clean_user_cache() accepts
 `int|WP_User`, which is why both of those branches were added to this
 function.

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


More information about the wp-trac mailing list