[buddypress-trac] [BuddyPress Trac] #6921: Maybe introduce PHP Mustache parser for email templates

buddypress-trac noreply at wordpress.org
Sun Jun 3 11:33:39 UTC 2018


#6921: Maybe introduce PHP Mustache parser for email templates
----------------------------+-----------------------
 Reporter:  DJPaul          |       Owner:  (none)
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  Up Next
Component:  Emails          |     Version:  2.5.0
 Severity:  normal          |  Resolution:
 Keywords:  trac-tidy-2018  |
----------------------------+-----------------------

Comment (by DJPaul):

 I've been thinking about this. Downside of using `post_content_filtered`
 is having to re-generate that cache each time the template is edited in
 wp-admin, or the customiser, or when the template file is added or
 modified on the file system.

 I can't see any alternative (other than not doing this) to storing this in
 a transient, and making a go/no-go based on how large the new transient
 options are in wp_options table (for sites without an object cache).

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


More information about the buddypress-trac mailing list