Changeset 6978 for sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks/addons/allergy.php
- Timestamp:
- 03/29/2018 11:03:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks/addons/allergy.php
r6966 r6978 209 209 $current_wordcamp = get_wordcamp_post(); 210 210 $wordcamp_name = get_wordcamp_name( get_wordcamp_site_id( $current_wordcamp ) ); 211 $post_type_object = get_post_type_object( $attendee->post_type ); 212 $attendee_link = add_query_arg( 'action', 'edit', admin_url( sprintf( $post_type_object->_edit_link, $attendee->ID ) ) ); 211 213 $handbook_link = 'https://make.wordpress.org/community/handbook/wordcamp-organizer/planning-details/selling-tickets/life-threatening-allergies/'; 212 214 $support_email = 'support@wordcamp.org'; … … 229 231 ); 230 232 231 $message_line_1 = wp_strip_all_tags( __( 'The following attendee has indicated that they have a life-threatening allergy. Please note that this information is confidential.', 'wordcamporg' ) );233 $message_line_1 = wp_strip_all_tags( __( 'The following attendee has indicated that they have a life-threatening allergy. Please note that this information is confidential.', 'wordcamporg' ) ); 232 234 233 235 $message_line_2 = wp_strip_all_tags( __( 'Please follow the procedure outlined in the WordCamp Organizer Handbook to ensure the health and safety of this event\'s attendees.', 'wordcamporg' ) ); … … 239 241 "%s\n\n%s\n\n%s\n\n%s", 240 242 $message_line_1, 241 get_edit_post_link( $attendee, 'plaintext'), // Link to attendee post's Edit screen.243 esc_url_raw( $attendee_link ), // Link to attendee post's Edit screen. 242 244 $message_line_2, 243 245 $handbook_link // Link to page in WordCamp Organizer Handbook.
Note: See TracChangeset
for help on using the changeset viewer.