[wp-trac] [WordPress Trac] #25545: Invalidate post cache when a user is removed from a blog

WordPress Trac noreply at wordpress.org
Tue Feb 4 08:50:12 UTC 2014


#25545: Invalidate post cache when a user is removed from a blog
--------------------------+-----------------------------
 Reporter:  nprasath002   |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.9
Component:  Cache API     |     Version:  3.6.1
 Severity:  minor         |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by TobiasBg):

 Would `array_walk( $post_ids, 'clean_post_cache' );` be more appropriate
 here than `array_map(...)`, to make it clearer that we don't expect/need
 the return array?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25545#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list