[buddypress-trac] [BuddyPress Trac] #7055: Emails: Attempting to use bp_send_mail() on non-root blogs fails

buddypress-trac noreply at wordpress.org
Sat May 14 17:48:12 UTC 2016


#7055: Emails: Attempting to use bp_send_mail() on non-root blogs fails
------------------------------------+--------------------
 Reporter:  r-a-y                   |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.5.3
Component:  API - Emails            |     Version:  2.5.0
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+--------------------

Comment (by r-a-y):

 > Sounds good but please can you check bp_core->register_post_types to see
 if we need to do the same for the post type? I imagine the same problem is
 there.

 I've tested this and the email post type does not need to be registered
 network-wide because `WP_Query::parse_query()` doesn't do an explicit
 `post_type_exists()` check.  Only the email taxonomy needs to be.

 Going to commit.

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


More information about the buddypress-trac mailing list