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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 22 08:11:42 GMT 2009


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

Comment(by DD32):

 > if the query limit is 5 but there are 3 private comments in the Top5,
 the resulting list will have only 2 items.

 If that was the case, I'd just select x+y comments, An extra 5 or so.. The
 extra memory consumption of the extra comments isn't much, and in the case
 those extra comments weren't useful, you just display a smaller number.
 !WordPress does this in a few other areas of the code, Includes a buffer,
 but if its not a hugely important area makes do with less than requested.

 Thanks for the diff though, Makes it much more clear whats been
 added/suggested :)

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


More information about the wp-trac mailing list