diff --git a/eme-attributes.php b/eme-attributes.php index 708338c4..a9f64142 100644 --- a/eme-attributes.php +++ b/eme-attributes.php @@ -107,7 +107,7 @@ function eme_attributes_form( $eme_array ) { '; echo eme_ui_multiselect_key_value( '', 'search_customfieldids', $formfields_searchable, 'field_id', 'field_name', 5, '', 0, 'eme_select2_customfieldids_class' ); } ?> @@ -6266,19 +6266,19 @@ function eme_event_form( $event, $info, $edit_recurrence = 0 ) {
' . __( 'Task Signup Made Email', 'events-made-easy' ) . ''; + echo '

' . esc_html__( 'Task Signup Made Email', 'events-made-easy' ) . '

'; echo '
'; eme_meta_box_div_event_task_signup_made_email( $event, $templates_array ); echo '
'; - echo '

' . __( 'Task Signup Reminder Email', 'events-made-easy' ) . '

'; + echo '

' . esc_html__( 'Task Signup Reminder Email', 'events-made-easy' ) . '

'; echo '
'; eme_meta_box_div_event_task_signup_reminder_email( $event, $templates_array ); echo '
'; - echo '

' . __( 'Task Signup Cancelled Email', 'events-made-easy' ) . '

'; + echo '

' . esc_html__( 'Task Signup Cancelled Email', 'events-made-easy' ) . '

'; echo '
'; eme_meta_box_div_event_task_signup_cancelled_email( $event, $templates_array ); echo '
'; - echo '

' . __( 'Task Signup Deleted Email', 'events-made-easy' ) . '

'; + echo '

' . esc_html__( 'Task Signup Deleted Email', 'events-made-easy' ) . '

'; echo '
'; eme_meta_box_div_event_task_signup_trashed_email( $event, $templates_array ); echo '
'; @@ -6800,9 +6800,9 @@ function eme_meta_box_div_event_name( $event, $edit_recurrence = 0 ) {
' . __( 'Permalink: ', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Permalink: ', 'events-made-easy' ) . ''; } else { - echo '' . __( 'Permalink prefix: ', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Permalink prefix: ', 'events-made-easy' ) . ''; } echo trailingslashit( home_url() ); $events_prefixes = get_option( 'eme_permalink_events_prefix', 'events' ); @@ -6883,7 +6883,7 @@ function eme_meta_box_div_event_datetime( $event, $recurrence, $edit_recurrence
' . __( 'Event time', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Event time', 'events-made-easy' ) . ''; ?> - @@ -7059,7 +7059,7 @@ function eme_meta_box_div_event_single_event_format( $event, $templates_array )

' . __( 'Single Event', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Single Event', 'events-made-easy' ) . ''; ?>

@@ -7121,7 +7121,7 @@ function eme_meta_box_div_event_contactperson_ipn_email( $event, $templates_arra } else { $showhide_style = 'style="width:100%;"'; } - echo '' . __( 'Contact Person Payment Gateway Notification Email Body', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Contact Person Payment Gateway Notification Email Body', 'events-made-easy' ) . ''; ?>


@@ -7167,7 +7167,7 @@ function eme_meta_box_div_event_registration_recorded_ok_html( $event, $template


' . __( 'Booking recorded message', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Booking recorded message', 'events-made-easy' ) . ''; ?>


@@ -7358,7 +7358,7 @@ function eme_meta_box_div_event_registration_userpending_email( $event, $templat } else { $showhide_style = 'style="width:100%;"'; } - echo '' . __( 'Booking Awaiting User Confirmation Email Body', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Booking Awaiting User Confirmation Email Body', 'events-made-easy' ) . ''; ?>


@@ -7416,7 +7416,7 @@ function eme_meta_box_div_event_registration_pending_email( $event, $templates_a } else { $showhide_style = 'style="width:100%;"'; } - echo '' . __( 'Booking Pending Email Body', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Booking Pending Email Body', 'events-made-easy' ) . ''; ?>


@@ -7841,7 +7841,7 @@ function eme_meta_box_div_event_registration_paid_email( $event, $templates_arra } else { $showhide_style = 'style="width:100%;"'; } - echo '' . __( 'Contact Person Booking Paid Email Body', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Contact Person Booking Paid Email Body', 'events-made-easy' ) . ''; ?>


@@ -8130,7 +8130,7 @@ function eme_meta_box_div_event_notes( $event ) {


' . __( 'Event description', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Event description', 'events-made-easy' ) . ''; ?>

@@ -8159,10 +8159,10 @@ function eme_meta_box_div_event_image( $event ) { "; + echo "" . esc_attr__( "; echo ""; } else { - echo "" . __( "; + echo "" . esc_attr__( "; echo ""; } if ( ! empty( $event['event_image_id'] ) ) { @@ -8184,7 +8184,7 @@ function eme_meta_box_div_event_attributes( $event ) {

' . __( 'Attributes', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Attributes', 'events-made-easy' ) . ''; ?> - "; ?> + "; ?> diff --git a/eme-locations.php b/eme-locations.php index 92c198f7..b4948c06 100644 --- a/eme-locations.php +++ b/eme-locations.php @@ -497,9 +497,9 @@ function eme_meta_box_div_location_name( $location ) {
' . __( 'Permalink: ', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Permalink: ', 'events-made-easy' ) . ''; } else { - echo '' . __( 'Permalink prefix: ', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Permalink prefix: ', 'events-made-easy' ) . ''; } echo trailingslashit( home_url() ); $locations_prefixes = get_option( 'eme_permalink_locations_prefix', 'locations' ); @@ -679,10 +679,10 @@ function eme_meta_box_div_location_image( $location ) {
"; + echo "" . esc_attr__( "; echo ""; } else { - echo "" . __( "; + echo "" . esc_attr__( "; echo ""; } if ( ! empty( $location['location_image_id'] ) ) { @@ -732,7 +732,7 @@ function eme_meta_box_div_location_attributes( $location ) {

' . __( 'Attributes', 'events-made-easy' ) . ''; + echo '' . esc_html__( 'Attributes', 'events-made-easy' ) . ''; ?> '; + echo ''; echo eme_ui_multiselect_key_value( '', 'search_customfieldids', $formfields_searchable, 'field_id', 'field_name', 5, '', 0, 'eme_select2_customfieldids_class' ); } ?> diff --git a/eme-options.php b/eme-options.php index 96ea76c9..4be979bb 100644 --- a/eme-options.php +++ b/eme-options.php @@ -2167,7 +2167,7 @@ function eme_options_page() {
'; + echo "'; eme_options_select( __( 'PayPal live or test', 'events-made-easy' ), 'eme_paypal_url',
" . __( 'Remark: due to the incomplete PHP implementation by Paypal, it is not recommended to use this method. It works fine, but has some shortcomings: no webhook functionality (meaning: if someone closes the browser immediately after payment, the payment will not get marked as paid in EME) and refunding is not possible.', 'events-made-easy' ) . '
" . esc_html__( 'Remark: due to the incomplete PHP implementation by Paypal, it is not recommended to use this method. It works fine, but has some shortcomings: no webhook functionality (meaning: if someone closes the browser immediately after payment, the payment will not get marked as paid in EME) and refunding is not possible.', 'events-made-easy' ) . '