Changeset 664 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
- Timestamp:
- 06/03/2014 10:15:15 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r655 r664 439 439 440 440 if ( $lead_organizer && add_user_to_blog( get_current_blog_id(), $lead_organizer->ID, 'contributor' ) ) { 441 $message_body = sprintf( 442 "Howdy! Your application for %s has been accepted, and we've granted your WordPress.org account access to central.wordcamp.org. Most of the information that we'll need to collect from you is stored in a custom 'WordCamp' post located at the address below. Please log in and fill out all those empty fields. We can't add you to the official schedule until all of the fields are completed. 443 444 %s 445 446 Please let us know if you have any questions, 447 WordCamp Central", 448 sanitize_text_field( $post->post_title ), 449 admin_url( 'post.php?post=' . $post->ID . '&action=edit' ) 450 ); 451 452 wp_mail( 453 $lead_organizer->user_email, 454 $post->post_title . ' application accepted', 455 str_replace( "\t", '', $message_body ), 456 array( 'Reply-To: support@wordcamp.org' ) 457 ); 441 do_action( 'wcor_organizer_added_to_central', $post ); 458 442 } 459 443 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)