[wp-trac] Re: [WordPress Trac] #9211: Recent comments widget with "private" and draft entries

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 23:05:50 GMT 2009


#9211: Recent comments widget with "private" and draft entries
--------------------------+-------------------------------------------------
 Reporter:  menelicte     |       Owner:             
     Type:  defect (bug)  |      Status:  new        
 Priority:  lowest        |   Milestone:  2.8        
Component:  Widgets       |     Version:  2.7        
 Severity:  trivial       |    Keywords:  needs-patch
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 like this:

 {{{
 wp_cache_set($identifier, $bucket);

 wp_cache_delete($identifier, $bucket);
 }}}

 in this case, it would require a $widget_id as an identifier, and widgets
 as the bucket.

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


More information about the wp-trac mailing list