[buddypress-trac] [BuddyPress Trac] #7234: Implement get_object_by_id() method in message factory

buddypress-trac noreply at wordpress.org
Tue Aug 30 15:44:33 UTC 2016


#7234: Implement get_object_by_id() method in message factory
------------------------------+---------------------------
 Reporter:  jdgrimes          |       Owner:  boonebgorges
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  2.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |
------------------------------+---------------------------
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11042"]:
 {{{
 #!CommitTicketReference repository="" revision="11042"
 Tests: Fix message factory create/get methods.

 Previously, message creation was failing because no 'sender_id' or
 'recipients' were set. We now create senders and recipients when none
 are passed to the `create()` method.

 This changeset also fixes the return value of `create_object()`, so that
 `create_and_get()` works for messages.

 Props jdgrimes.
 Fixes #7234.
 }}}

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


More information about the buddypress-trac mailing list