[buddypress-trac] [BuddyPress Trac] #5609: Blog data stored in activitymeta and blogmeta must be invalidated

buddypress-trac noreply at wordpress.org
Mon Aug 18 17:32:38 UTC 2014


#5609: Blog data stored in activitymeta and blogmeta must be invalidated
------------------------------+---------------------
 Reporter:  boonebgorges      |       Owner:  r-a-y
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.1
Component:  Activity          |     Version:  2.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by r-a-y):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"8945"]:
 {{{
 #!CommitTicketReference repository="" revision="8945"
 Do not use `get_comments()` with `fields=ids` parameter.

 `fields=ids` is only supported in WordPress 4.0:
 https://core.trac.wordpress.org/ticket/28434

 This was causing unit test failures in older versions of WordPress.

 To workaround this, this commit introduces
 `bp_blogs_comments_clauses_select_by_id()`,
 which is used as a filter so we can select comments by the `comment_ID`
 column only and is an alternative to the `fields=ids` approach.

 Fixes #5609.
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5609#comment:16>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list