Changeset 7123
- Timestamp:
- 04/17/2018 10:45:36 PM (8 years ago)
- Location:
- sites/trunk/wordpressfoundation.org/public_html/content/plugins/wpf-stripe
- Files:
-
- 2 edited
-
email.php (modified) (2 diffs)
-
wpf-stripe.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpressfoundation.org/public_html/content/plugins/wpf-stripe/email.php
r7121 r7123 31 31 $subject = merge_template_data( $template->post_title, $transaction_data ); 32 32 $message = merge_template_data( $template->post_content, $transaction_data ); 33 $headers = array( 'Reply-To: stripe-wpf@wordcamp.org' ); 33 34 34 35 if ( ! is_email( $to ) || empty( $subject ) || empty( $message ) ) { … … 39 40 //todo create multipart HTML/plaintext 40 41 41 $success = wp_mail( $to, $subject, $message );42 $success = wp_mail( $to, $subject, $message, $headers ); 42 43 43 44 if ( ! $success ) { -
sites/trunk/wordpressfoundation.org/public_html/content/plugins/wpf-stripe/wpf-stripe.php
r7122 r7123 238 238 } 239 239 // todo: not ready for production yet -- add_action( 'rest_api_init', __NAMESPACE__ . '\register_routes' ); 240 // todo before enabling this, replace the placeholder content in the Donation Email posts w/ proper content from Andrea 240 241 241 242 /** … … 309 310 print_r( compact( 'event', 'transaction_data' ) ); 310 311 // send_mail( 'subscription-deleted', $transaction_data ); 312 // todo need to add a template for this on production 311 313 break; 312 314
Note: See TracChangeset
for help on using the changeset viewer.