[wp-trac] [WordPress Trac] #20296: WP_Query implements Countable

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 25 20:12:31 UTC 2012


#20296: WP_Query implements Countable
-----------------------------------------------+---------------------------
 Reporter:  hakre                              |       Owner:
     Type:  feature request                    |      Status:  new
 Priority:  normal                             |   Milestone:  Awaiting
Component:  General                            |  Review
 Severity:  normal                             |     Version:
 Keywords:  has-patch close reporter-feedback  |  Resolution:
-----------------------------------------------+---------------------------
Changes (by johnbillion):

 * keywords:  has-patch close => has-patch close reporter-feedback


Comment:

 Similarly to #20297, what is the use case for this? The patch as-is
 achieves nothing. If `WP_Query` is to implement the countable interface
 then your patch should include the corresponding code changes which take
 advantage of it, otherwise the change is pointless.

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


More information about the wp-trac mailing list