[buddypress-trac] [BuddyPress Trac] #6063: Support meta query in bp_has_message_threads()
buddypress-trac
noreply at wordpress.org
Fri Jan 9 19:54:02 UTC 2015
#6063: Support meta query in bp_has_message_threads()
-------------------------+---------------------
Reporter: r-a-y | Owner: r-a-y
Type: enhancement | Status: closed
Priority: normal | Milestone: 2.2
Component: Messaging | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+---------------------
Changes (by r-a-y):
* owner: => r-a-y
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"9335"]:
{{{
#!CommitTicketReference repository="" revision="9335"
Messages: Support meta queries in `bp_has_message_threads()` stack.
Much like r6948, r6950, this commit adds support for meta queries, but for
the messages component.
This will allow plugin develoeprs to customize the fetching of message
threads based on data stored in the messagemeta table, using a
powerful syntax familiar from `WP_Query`.
Commit also adds unit tests for the `'meta_query'` parameter in
`bp_has_message_threads()`.
Fixes #6063.
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6063#comment:12>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list