[buddypress-trac] [BuddyPress Trac] #7431: Hook for custom email type schema

buddypress-trac noreply at wordpress.org
Tue Jan 31 19:58:30 UTC 2017


#7431: Hook for custom email type schema
-------------------------+---------------------
 Reporter:  finzend      |       Owner:  DJPaul
     Type:  enhancement  |      Status:  new
 Priority:  high         |   Milestone:  2.8
Component:  Emails       |     Version:  2.7.2
 Severity:  blocker      |  Resolution:
 Keywords:               |
-------------------------+---------------------
Changes (by DJPaul):

 * owner:   => DJPaul
 * priority:  normal => high
 * component:  Core => Emails
 * severity:  normal => blocker
 * milestone:  Awaiting Review => 2.8


Comment:

 Hi. Er, gosh. You're correct. We'll have to think about this quickly.

 The problem with adding a filter to `bp_email_get_type_schema` (though
 this is likely the best way to go) will mean that your custom emails will
 get installed via the call at the top of the `bp_core_install_emails`
 function. We've been telling people to use the `bp_core_install_emails`
 action to install their emails... so will need to introduce some kind of
 internal-only flag to prevent this happening.

 Thank you very much for letting us know @finzend !

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


More information about the buddypress-trac mailing list