Changeset 2484
- Timestamp:
- 02/08/2016 07:57:02 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/sponsor-invoices-dashboard.php
r2388 r2484 349 349 350 350 if ( 'approved' === $new_status ) { 351 $status_message = "has been approved by a WordCamp deputy, and sent to $sponsor_name. You will receive another notification when they have paid the invoice"; 351 $sponsor_id = get_post_meta( $invoice_id, '_wcbsi_sponsor_id', true ); 352 $sponsor_email = get_post_meta( $sponsor_id, '_wcpt_sponsor_email_address', true ); 353 $status_message = "has been sent to $sponsor_name via $sponsor_email. You will receive another notification when they have paid the invoice."; 352 354 } elseif ( 'paid' === $new_status ) { 353 $status_message = "has been paid by $sponsor_name and is now complete";355 $status_message = "has been paid by $sponsor_name. Go ahead and publish them to your website!"; 354 356 } 355 357 356 358 $message = " 357 The invoice for `{$invoice->post_title}` $status_message .358 359 You can view the invoice and its status a t:359 The invoice for `{$invoice->post_title}` $status_message 360 361 You can view the invoice and its status any time at: 360 362 361 363 $invoice_url
Note: See TracChangeset
for help on using the changeset viewer.