[buddypress-trac] [BuddyPress Trac] #6426: 'fields' => 'ids' for activity queries

buddypress-trac noreply at wordpress.org
Fri May 8 14:57:45 UTC 2015

#6426: 'fields' => 'ids' for activity queries
 Reporter:  boonebgorges          |      Owner:
     Type:  enhancement           |     Status:  new
 Priority:  normal                |  Milestone:  2.4
Component:  Component - Activity  |    Version:
 Severity:  normal                |   Keywords:  needs-patch good-first-bug
 `WP_Query` and other core query classes allow you to pass `fields=ids` in
 order to get back only a list of matching object IDs. This lets you skip a
 lot of the extra querying that is normally done to pull up object data,
 prime caches, and so on.

 It would be nice to have something similar for BP activity queries. I just
 built something that needs to query activity for utility purposes, and all
 of the extra stuff - priming caches, generating activity strings, and so
 on - adds a ton of overhead.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6426>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list