[buddypress-trac] [BuddyPress Trac] #5609: Blog data stored in activitymeta and blogmeta must be invalidated
buddypress-trac
noreply at wordpress.org
Sun Aug 17 17:43:06 UTC 2014
#5609: Blog data stored in activitymeta and blogmeta must be invalidated
------------------------------+------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.1
Component: Activity | Version: 2.0
Severity: normal | Resolution:
Keywords: has-patch commit |
------------------------------+------------------
Comment (by r-a-y):
Thanks for the feedback, DJPaul.
`get_comments()` doesn't support the `fields=ids` parameter though.
However, there is another filter down the stack that we could filter so we
only grab the IDs - `comments_clauses`.
`04.patch` uses this filter to narrow down the `SELECT` query to just the
`comment_ID`.
Patch also removes the multiple unit tests and replaces it with just one
test. This unit test, handles both cases that boonebgorges mentions in
comment:5, which I forgot to add a test for in the previous patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5609#comment:10>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list