Changeset 2488
- Timestamp:
- 02/09/2016 04:09:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/reimbursement-request.php
r2410 r2488 574 574 if ( $note_author->has_cap( 'manage_network' ) ) { 575 575 $to = \WordCamp_Budgets::get_requester_formatted_email( $request->post_author ); 576 $subject_prefix = sprintf( '[%s] ', get_wordcamp_name() ); 576 577 } else { 577 578 $to = 'support@wordcamp.org'; 579 $subject_prefix = ''; 578 580 } 579 581 … … 582 584 } 583 585 584 $subject = 'New note on ' . sanitize_text_field( $request->post_title);586 $subject = sprintf( '%sNew note on `%s`', $subject_prefix, sanitize_text_field( $request->post_title ) ); 585 587 $note_author_name = \WordCamp_Budgets::get_requester_name( $note['author_id'] ); 586 588 $request_url = admin_url( sprintf( 'post.php?post=%s&action=edit', $request->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.