[wp-trac] [WordPress Trac] #19500: User deletion doesn't clear user_meta cache

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 16 21:24:29 UTC 2011


#19500: User deletion doesn't clear user_meta cache
--------------------------+--------------------
 Reporter:  duck_         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Cache         |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+--------------------

Comment (by nacin):

 With the help of duck_, [attachment:19500.diff] passes the skipped unit
 tests. It required a change to get_blogs_of_user(), as in single-site, you
 end up with `false`, while in multisite, you'll get `array()` (in the case
 of no blogs). I think that array() might be the more semantic response,
 however.

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


More information about the wp-trac mailing list