@@ -13,49 +13,49 @@ |
||
13 | 13 | */ |
14 | 14 | class EE_Payment_Cancelled_message_type extends EE_Payment_Base_message_type |
15 | 15 | { |
16 | - public function __construct() |
|
17 | - { |
|
16 | + public function __construct() |
|
17 | + { |
|
18 | 18 | |
19 | - // setup type details for reference |
|
20 | - $this->name = 'payment_cancelled'; |
|
21 | - $this->description = esc_html__('This message type is used for all cancelled payment notification messages that go out including any manual payments entered by an event administrator.', 'event_espresso'); |
|
22 | - $this->label = array( |
|
23 | - 'singular' => esc_html__('payment cancelled', 'event_espresso'), |
|
24 | - 'plural' => esc_html__('payments cancelled', 'event_espresso') |
|
25 | - ); |
|
19 | + // setup type details for reference |
|
20 | + $this->name = 'payment_cancelled'; |
|
21 | + $this->description = esc_html__('This message type is used for all cancelled payment notification messages that go out including any manual payments entered by an event administrator.', 'event_espresso'); |
|
22 | + $this->label = array( |
|
23 | + 'singular' => esc_html__('payment cancelled', 'event_espresso'), |
|
24 | + 'plural' => esc_html__('payments cancelled', 'event_espresso') |
|
25 | + ); |
|
26 | 26 | |
27 | - $this->_master_templates = array( |
|
28 | - 'email' => 'payment' |
|
29 | - ); |
|
27 | + $this->_master_templates = array( |
|
28 | + 'email' => 'payment' |
|
29 | + ); |
|
30 | 30 | |
31 | - parent::__construct(); |
|
32 | - } |
|
31 | + parent::__construct(); |
|
32 | + } |
|
33 | 33 | |
34 | 34 | |
35 | - /** |
|
36 | - * _set_contexts |
|
37 | - * This sets up the contexts associated with the message_type |
|
38 | - * |
|
39 | - * @access protected |
|
40 | - * @return void |
|
41 | - */ |
|
42 | - protected function _set_contexts() |
|
43 | - { |
|
44 | - $this->_context_label = array( |
|
45 | - 'label' => esc_html__('recipient', 'event_espresso'), |
|
46 | - 'plural' => esc_html__('recipients', 'event_espresso'), |
|
47 | - 'description' => esc_html__('Recipient\'s are who will receive the template. You may want different payment details sent out depending on who the recipient is.', 'event_espresso') |
|
48 | - ); |
|
35 | + /** |
|
36 | + * _set_contexts |
|
37 | + * This sets up the contexts associated with the message_type |
|
38 | + * |
|
39 | + * @access protected |
|
40 | + * @return void |
|
41 | + */ |
|
42 | + protected function _set_contexts() |
|
43 | + { |
|
44 | + $this->_context_label = array( |
|
45 | + 'label' => esc_html__('recipient', 'event_espresso'), |
|
46 | + 'plural' => esc_html__('recipients', 'event_espresso'), |
|
47 | + 'description' => esc_html__('Recipient\'s are who will receive the template. You may want different payment details sent out depending on who the recipient is.', 'event_espresso') |
|
48 | + ); |
|
49 | 49 | |
50 | - $this->_contexts = array( |
|
51 | - 'admin' => array( |
|
52 | - 'label' => esc_html__('Event Admin', 'event_espresso'), |
|
53 | - 'description' => esc_html__('This template is what event administrators will receive when payment is cancelled.', 'event_espresso') |
|
54 | - ), |
|
55 | - 'primary_attendee' => array( |
|
56 | - 'label' => esc_html__('Primary Registrant', 'event_espresso'), |
|
57 | - 'description' => esc_html__('This template is what the primary registrant (the person who made the main registration) will receive when the payment is cancelled.', 'event_espresso') |
|
58 | - ) |
|
59 | - ); |
|
60 | - } |
|
50 | + $this->_contexts = array( |
|
51 | + 'admin' => array( |
|
52 | + 'label' => esc_html__('Event Admin', 'event_espresso'), |
|
53 | + 'description' => esc_html__('This template is what event administrators will receive when payment is cancelled.', 'event_espresso') |
|
54 | + ), |
|
55 | + 'primary_attendee' => array( |
|
56 | + 'label' => esc_html__('Primary Registrant', 'event_espresso'), |
|
57 | + 'description' => esc_html__('This template is what the primary registrant (the person who made the main registration) will receive when the payment is cancelled.', 'event_espresso') |
|
58 | + ) |
|
59 | + ); |
|
60 | + } |
|
61 | 61 | } |
@@ -14,47 +14,47 @@ |
||
14 | 14 | |
15 | 15 | class EE_Declined_Registration_message_type extends EE_Registration_Base_message_type |
16 | 16 | { |
17 | - public function __construct() |
|
18 | - { |
|
19 | - $this->name = 'declined_registration'; |
|
20 | - $this->description = esc_html__('This message type is for messages sent to registrants when their registration is declined.', 'event_espresso'); |
|
21 | - $this->label = array( |
|
22 | - 'singular' => esc_html__('registration declined', 'event_espresso'), |
|
23 | - 'plural' => esc_html__('registrations declined', 'event_espresso') |
|
24 | - ); |
|
25 | - $this->_master_templates = array( |
|
26 | - 'email' => 'not_approved_registration' |
|
27 | - ); |
|
28 | - parent::__construct(); |
|
29 | - } |
|
17 | + public function __construct() |
|
18 | + { |
|
19 | + $this->name = 'declined_registration'; |
|
20 | + $this->description = esc_html__('This message type is for messages sent to registrants when their registration is declined.', 'event_espresso'); |
|
21 | + $this->label = array( |
|
22 | + 'singular' => esc_html__('registration declined', 'event_espresso'), |
|
23 | + 'plural' => esc_html__('registrations declined', 'event_espresso') |
|
24 | + ); |
|
25 | + $this->_master_templates = array( |
|
26 | + 'email' => 'not_approved_registration' |
|
27 | + ); |
|
28 | + parent::__construct(); |
|
29 | + } |
|
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | - /** |
|
35 | - * _set_contexts |
|
36 | - * This sets up the contexts associated with the message_type |
|
37 | - * |
|
38 | - * @access protected |
|
39 | - * @return void |
|
40 | - */ |
|
41 | - protected function _set_contexts() |
|
42 | - { |
|
43 | - $this->_context_label = array( |
|
44 | - 'label' => esc_html__('recipient', 'event_espresso'), |
|
45 | - 'plural' => esc_html__('recipients', 'event_espresso'), |
|
46 | - 'description' => esc_html__('Recipient\'s are who will receive the template. You may want different registration details sent out depending on who the recipient is', 'event_espresso') |
|
47 | - ); |
|
34 | + /** |
|
35 | + * _set_contexts |
|
36 | + * This sets up the contexts associated with the message_type |
|
37 | + * |
|
38 | + * @access protected |
|
39 | + * @return void |
|
40 | + */ |
|
41 | + protected function _set_contexts() |
|
42 | + { |
|
43 | + $this->_context_label = array( |
|
44 | + 'label' => esc_html__('recipient', 'event_espresso'), |
|
45 | + 'plural' => esc_html__('recipients', 'event_espresso'), |
|
46 | + 'description' => esc_html__('Recipient\'s are who will receive the template. You may want different registration details sent out depending on who the recipient is', 'event_espresso') |
|
47 | + ); |
|
48 | 48 | |
49 | - $this->_contexts = array( |
|
50 | - 'admin' => array( |
|
51 | - 'label' => esc_html__('Event Admin', 'event_espresso'), |
|
52 | - 'description' => esc_html__('This template is what event administrators will receive with an declined registration', 'event_espresso') |
|
53 | - ), |
|
54 | - 'attendee' => array( |
|
55 | - 'label' => esc_html__('Registrant', 'event_espresso'), |
|
56 | - 'description' => esc_html__('This template is what each registrant for the event will receive when their registration is declined.', 'event_espresso') |
|
57 | - ) |
|
58 | - ); |
|
59 | - } |
|
49 | + $this->_contexts = array( |
|
50 | + 'admin' => array( |
|
51 | + 'label' => esc_html__('Event Admin', 'event_espresso'), |
|
52 | + 'description' => esc_html__('This template is what event administrators will receive with an declined registration', 'event_espresso') |
|
53 | + ), |
|
54 | + 'attendee' => array( |
|
55 | + 'label' => esc_html__('Registrant', 'event_espresso'), |
|
56 | + 'description' => esc_html__('This template is what each registrant for the event will receive when their registration is declined.', 'event_espresso') |
|
57 | + ) |
|
58 | + ); |
|
59 | + } |
|
60 | 60 | } |
@@ -14,17 +14,17 @@ |
||
14 | 14 | */ |
15 | 15 | class Extend_EE_Attendee_Contact_List_Table extends EE_Attendee_Contact_List_Table |
16 | 16 | { |
17 | - protected function _set_properties() |
|
18 | - { |
|
19 | - parent::_set_properties(); |
|
20 | - $this->_bottom_buttons = array( |
|
21 | - 'contact_list_report' => array( |
|
22 | - 'route' => 'contact_list_report', |
|
23 | - 'extra_request' => |
|
24 | - array( |
|
25 | - 'return_url' => $this->getReturnUrl(), |
|
26 | - ), |
|
27 | - ), |
|
28 | - ); |
|
29 | - } |
|
17 | + protected function _set_properties() |
|
18 | + { |
|
19 | + parent::_set_properties(); |
|
20 | + $this->_bottom_buttons = array( |
|
21 | + 'contact_list_report' => array( |
|
22 | + 'route' => 'contact_list_report', |
|
23 | + 'extra_request' => |
|
24 | + array( |
|
25 | + 'return_url' => $this->getReturnUrl(), |
|
26 | + ), |
|
27 | + ), |
|
28 | + ); |
|
29 | + } |
|
30 | 30 | } |
@@ -13,62 +13,62 @@ |
||
13 | 13 | */ |
14 | 14 | class Context implements ContextInterface |
15 | 15 | { |
16 | - /** |
|
17 | - * @var string $slug |
|
18 | - */ |
|
19 | - private $slug; |
|
16 | + /** |
|
17 | + * @var string $slug |
|
18 | + */ |
|
19 | + private $slug; |
|
20 | 20 | |
21 | - /** |
|
22 | - * @var string $description |
|
23 | - */ |
|
24 | - private $description; |
|
21 | + /** |
|
22 | + * @var string $description |
|
23 | + */ |
|
24 | + private $description; |
|
25 | 25 | |
26 | 26 | |
27 | - /** |
|
28 | - * Context constructor. |
|
29 | - * |
|
30 | - * @param string $slug |
|
31 | - * @param string $description |
|
32 | - */ |
|
33 | - public function __construct($slug, $description) |
|
34 | - { |
|
35 | - $this->setSlug($slug); |
|
36 | - $this->setDescription($description); |
|
37 | - } |
|
27 | + /** |
|
28 | + * Context constructor. |
|
29 | + * |
|
30 | + * @param string $slug |
|
31 | + * @param string $description |
|
32 | + */ |
|
33 | + public function __construct($slug, $description) |
|
34 | + { |
|
35 | + $this->setSlug($slug); |
|
36 | + $this->setDescription($description); |
|
37 | + } |
|
38 | 38 | |
39 | 39 | |
40 | - /** |
|
41 | - * @return string |
|
42 | - */ |
|
43 | - public function slug() |
|
44 | - { |
|
45 | - return $this->slug; |
|
46 | - } |
|
40 | + /** |
|
41 | + * @return string |
|
42 | + */ |
|
43 | + public function slug() |
|
44 | + { |
|
45 | + return $this->slug; |
|
46 | + } |
|
47 | 47 | |
48 | 48 | |
49 | - /** |
|
50 | - * @param string $slug |
|
51 | - */ |
|
52 | - private function setSlug($slug) |
|
53 | - { |
|
54 | - $this->slug = sanitize_key($slug); |
|
55 | - } |
|
49 | + /** |
|
50 | + * @param string $slug |
|
51 | + */ |
|
52 | + private function setSlug($slug) |
|
53 | + { |
|
54 | + $this->slug = sanitize_key($slug); |
|
55 | + } |
|
56 | 56 | |
57 | 57 | |
58 | - /** |
|
59 | - * @return string |
|
60 | - */ |
|
61 | - public function description() |
|
62 | - { |
|
63 | - return $this->description; |
|
64 | - } |
|
58 | + /** |
|
59 | + * @return string |
|
60 | + */ |
|
61 | + public function description() |
|
62 | + { |
|
63 | + return $this->description; |
|
64 | + } |
|
65 | 65 | |
66 | 66 | |
67 | - /** |
|
68 | - * @param string $description |
|
69 | - */ |
|
70 | - private function setDescription($description) |
|
71 | - { |
|
72 | - $this->description = sanitize_text_field($description); |
|
73 | - } |
|
67 | + /** |
|
68 | + * @param string $description |
|
69 | + */ |
|
70 | + private function setDescription($description) |
|
71 | + { |
|
72 | + $this->description = sanitize_text_field($description); |
|
73 | + } |
|
74 | 74 | } |
@@ -15,22 +15,22 @@ |
||
15 | 15 | use EventEspresso\core\services\request\sanitizers\AllowedTags; |
16 | 16 | |
17 | 17 | $active_message = sprintf( |
18 | - esc_html__( |
|
19 | - 'The template for %1$s is currently %2$sactive%3$s.', |
|
20 | - 'event_espresso' |
|
21 | - ), |
|
22 | - $context_label, |
|
23 | - '<strong>', |
|
24 | - '</strong>' |
|
18 | + esc_html__( |
|
19 | + 'The template for %1$s is currently %2$sactive%3$s.', |
|
20 | + 'event_espresso' |
|
21 | + ), |
|
22 | + $context_label, |
|
23 | + '<strong>', |
|
24 | + '</strong>' |
|
25 | 25 | ); |
26 | 26 | $inactive_message = sprintf( |
27 | - esc_html__( |
|
28 | - 'The template for %1$s is currently %2$sinactive%3$s.', |
|
29 | - 'event_espresso' |
|
30 | - ), |
|
31 | - $context_label, |
|
32 | - '<strong>', |
|
33 | - '</strong>' |
|
27 | + esc_html__( |
|
28 | + 'The template for %1$s is currently %2$sinactive%3$s.', |
|
29 | + 'event_espresso' |
|
30 | + ), |
|
31 | + $context_label, |
|
32 | + '<strong>', |
|
33 | + '</strong>' |
|
34 | 34 | ); |
35 | 35 | |
36 | 36 | $context = esc_attr($context); |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | use EventEspresso\core\services\request\sanitizers\AllowedTags; |
16 | 16 | |
17 | -$active_message = sprintf( |
|
17 | +$active_message = sprintf( |
|
18 | 18 | esc_html__( |
19 | 19 | 'The template for %1$s is currently %2$sactive%3$s.', |
20 | 20 | 'event_espresso' |
@@ -58,7 +58,7 @@ |
||
58 | 58 | </select> |
59 | 59 | |
60 | 60 | <!-- events if we don't have an EVENT_ID --> |
61 | - <?php if (! empty($active_events)) : ?> |
|
61 | + <?php if ( ! empty($active_events)) : ?> |
|
62 | 62 | <label for="EVT_ID_select"><?php esc_html_e('Select Event', 'event_espresso'); ?></label> |
63 | 63 | <select name="EVT_ID" id="EVT_ID_select"> |
64 | 64 | <?php foreach ($active_events as $event) : ?> |
@@ -13,13 +13,13 @@ discard block |
||
13 | 13 | */ |
14 | 14 | |
15 | 15 | $header = $event_name |
16 | - ? sprintf( |
|
17 | - /* translators: %s: event name */ |
|
18 | - esc_html__('%1$s Custom Template', 'event_espresso'), |
|
19 | - $event_name |
|
20 | - ) |
|
21 | - : ''; |
|
22 | - ?> |
|
16 | + ? sprintf( |
|
17 | + /* translators: %s: event name */ |
|
18 | + esc_html__('%1$s Custom Template', 'event_espresso'), |
|
19 | + $event_name |
|
20 | + ) |
|
21 | + : ''; |
|
22 | + ?> |
|
23 | 23 | |
24 | 24 | <div id="admin-primary-mbox-dv" class="admin-primary-mbox-dv"> |
25 | 25 | <?php if ($header) : ?> |
@@ -35,9 +35,9 @@ discard block |
||
35 | 35 | > |
36 | 36 | <input type="hidden" id="evt_id" name="EVT_ID" value="<?php echo absint($EVT_ID) ?: ''; ?>" /> |
37 | 37 | <?php |
38 | - if (isset($hidden_fields)) { |
|
39 | - echo wp_kses($hidden_fields, AllowedTags::getWithFormTags()); |
|
40 | - } ?> |
|
38 | + if (isset($hidden_fields)) { |
|
39 | + echo wp_kses($hidden_fields, AllowedTags::getWithFormTags()); |
|
40 | + } ?> |
|
41 | 41 | <!--active_messengers --> |
42 | 42 | <label for="MTP-messenger"><?php esc_html_e('Select Messenger', 'event_espresso'); ?></label> |
43 | 43 | <select name="MTP_messenger" id="MTP-messenger"> |
@@ -16,13 +16,13 @@ |
||
16 | 16 | <div class="ee-new-registration-step-content"> |
17 | 17 | <?php echo wp_kses($content, AllowedTags::getWithFormTags()); ?> |
18 | 18 | <?php |
19 | - if ( |
|
20 | - $show_notification_toggle |
|
21 | - && EE_Registry::instance()->CAP->current_user_can( |
|
22 | - 'ee_send_message', |
|
23 | - 'registration_message_type' |
|
24 | - ) |
|
25 | - ) : ?> |
|
19 | + if ( |
|
20 | + $show_notification_toggle |
|
21 | + && EE_Registry::instance()->CAP->current_user_can( |
|
22 | + 'ee_send_message', |
|
23 | + 'registration_message_type' |
|
24 | + ) |
|
25 | + ) : ?> |
|
26 | 26 | <div class="ee-attention"> |
27 | 27 | <label for="txn_reg_status_change" class="last"> |
28 | 28 | <?php esc_html_e('Send Related Messages?', 'event_espresso'); ?> |
@@ -24,9 +24,9 @@ discard block |
||
24 | 24 | <?php esc_html_e('Reset Ticket and Datetime Reserved Counts', 'event_espresso'); ?> |
25 | 25 | </h4> |
26 | 26 | <p><?php esc_html_e( |
27 | - 'Use this to reset the counts for ticket and datetime reservations.', |
|
28 | - 'event_espresso' |
|
29 | - ); ?></p> |
|
27 | + 'Use this to reset the counts for ticket and datetime reservations.', |
|
28 | + 'event_espresso' |
|
29 | + ); ?></p> |
|
30 | 30 | <div class="ee-admin-button-row"> |
31 | 31 | <?php echo wp_kses($reset_reservations_button, AllowedTags::getAllowedTags()); ?> |
32 | 32 | </div> |
@@ -41,9 +41,9 @@ discard block |
||
41 | 41 | </h4> |
42 | 42 | <p> |
43 | 43 | <?php esc_html_e( |
44 | - 'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities. Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.', |
|
45 | - 'event_espresso' |
|
46 | - ); ?> |
|
44 | + 'Use this to reset the capabilities on WP roles to the defaults as defined via EE_Capabilities. Note this reset does not REMOVE any existing capabilities, it just ensures that all the defaults are ADDED to the roles.', |
|
45 | + 'event_espresso' |
|
46 | + ); ?> |
|
47 | 47 | </p> |
48 | 48 | <div class="ee-admin-button-row"> |
49 | 49 | <?php echo wp_kses($reset_capabilities_button, AllowedTags::getAllowedTags()); ?> |
@@ -57,19 +57,19 @@ discard block |
||
57 | 57 | </h4> |
58 | 58 | <p> |
59 | 59 | <?php esc_html_e( |
60 | - ' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.', |
|
61 | - 'event_espresso' |
|
62 | - ); ?> |
|
60 | + ' This will reset data for Event Espresso 4, and for all active add-ons. Inactive add-ons will not be affected.', |
|
61 | + 'event_espresso' |
|
62 | + ); ?> |
|
63 | 63 | </p> |
64 | 64 | <p> |
65 | 65 | <?php esc_html_e( |
66 | - 'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.', |
|
67 | - 'event_espresso' |
|
68 | - ); ?> |
|
66 | + 'Your Event Espresso data will return to its default settings. The rest of your website will be unaffected.', |
|
67 | + 'event_espresso' |
|
68 | + ); ?> |
|
69 | 69 | </p> |
70 | 70 | <div class="ee-admin-button-row"> |
71 | 71 | <a class="button button--caution ee-confirm" href="<?php echo esc_url_raw($reset_db_url); |
72 | - ?>" |
|
72 | + ?>" |
|
73 | 73 | > |
74 | 74 | <?php esc_html_e('Reset Event Espresso Tables', 'event_espresso'); ?> |
75 | 75 | </a> |
@@ -83,64 +83,64 @@ discard block |
||
83 | 83 | </h4> |
84 | 84 | <p> |
85 | 85 | <?php esc_html_e( |
86 | - ' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.', |
|
87 | - 'event_espresso' |
|
88 | - ); ?> |
|
86 | + ' This will delete data for Event Espresso 4, and all currently active add-ons. Event Espresso will then be deactivated. You may need to manually deactivate each add-on individually.', |
|
87 | + 'event_espresso' |
|
88 | + ); ?> |
|
89 | 89 | </p> |
90 | 90 | <p> |
91 | 91 | <?php esc_html_e( |
92 | - 'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.', |
|
93 | - 'event_espresso' |
|
94 | - ); ?> |
|
92 | + 'If you know for certain that you will no longer be using Event Espresso and you wish to remove ALL traces of the plugin from your system, then perform the following steps.', |
|
93 | + 'event_espresso' |
|
94 | + ); ?> |
|
95 | 95 | </p> |
96 | 96 | <p class="ee-important-notice"> |
97 | 97 | <?php printf( |
98 | - esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'), |
|
99 | - ' <em>', |
|
100 | - '</em>' |
|
101 | - ); ?> |
|
98 | + esc_html__('Please note: %sThis is permanent and can NOT be undone.%s', 'event_espresso'), |
|
99 | + ' <em>', |
|
100 | + '</em>' |
|
101 | + ); ?> |
|
102 | 102 | <br /> |
103 | 103 | </p> |
104 | 104 | <ol> |
105 | 105 | <li> |
106 | 106 | <?php printf( |
107 | - esc_html__( |
|
108 | - 'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.', |
|
109 | - 'event_espresso' |
|
110 | - ), |
|
111 | - '<strong>', |
|
112 | - '</strong>' |
|
113 | - ); ?> |
|
107 | + esc_html__( |
|
108 | + 'First, click the button below to permanently delete all Event Espresso tables, records, and options from your WordPress database . If you receive a "500 Internal Server Error" or a blank white screen, it means the server has timed out due to the large number of records being updated. This is not a cause for concern. Simply %1$srefresh the page%2$s and the Database Update will continue where it left off.', |
|
109 | + 'event_espresso' |
|
110 | + ), |
|
111 | + '<strong>', |
|
112 | + '</strong>' |
|
113 | + ); ?> |
|
114 | 114 | </li> |
115 | 115 | <li> |
116 | 116 | <?php printf( |
117 | - esc_html__( |
|
118 | - 'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s', |
|
119 | - 'event_espresso' |
|
120 | - ), |
|
121 | - '<strong>', |
|
122 | - '</strong>' |
|
123 | - ); ?> |
|
117 | + esc_html__( |
|
118 | + 'Then, locate Event Espresso on the WordPress Plugins page, and click on %sDelete%s', |
|
119 | + 'event_espresso' |
|
120 | + ), |
|
121 | + '<strong>', |
|
122 | + '</strong>' |
|
123 | + ); ?> |
|
124 | 124 | </li> |
125 | 125 | <li> |
126 | 126 | <?php printf( |
127 | - esc_html__( |
|
128 | - 'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s', |
|
129 | - 'event_espresso' |
|
130 | - ), |
|
131 | - '<strong>', |
|
132 | - '</strong>' |
|
133 | - ); ?> |
|
127 | + esc_html__( |
|
128 | + 'Once you are on the Delete Plugin page, click on %sYes, Delete these files and data%s', |
|
129 | + 'event_espresso' |
|
130 | + ), |
|
131 | + '<strong>', |
|
132 | + '</strong>' |
|
133 | + ); ?> |
|
134 | 134 | </li> |
135 | 135 | <li> |
136 | 136 | <?php printf( |
137 | - esc_html__( |
|
138 | - 'Note: Event Espresso 4 categories are %snot%s deleted by this script', |
|
139 | - 'event_espresso' |
|
140 | - ), |
|
141 | - '<strong>', |
|
142 | - '</strong>' |
|
143 | - ); ?> |
|
137 | + esc_html__( |
|
138 | + 'Note: Event Espresso 4 categories are %snot%s deleted by this script', |
|
139 | + 'event_espresso' |
|
140 | + ), |
|
141 | + '<strong>', |
|
142 | + '</strong>' |
|
143 | + ); ?> |
|
144 | 144 | <br> |
145 | 145 | <a href="<?php echo esc_url_raw(admin_url('edit-tags.php?taxonomy=espresso_event_categories')); ?>"> |
146 | 146 | <?php esc_html_e('You can go here to delete Event Espresso categories', 'event_espresso'); ?> |
@@ -18,11 +18,11 @@ |
||
18 | 18 | <div class="mt-settings"> |
19 | 19 | <form method="POST" action="" class="mt-settings-form<?php echo esc_attr($show_form); ?>"> |
20 | 20 | <?php |
21 | - echo wp_kses($template_form_fields, AllowedTags::getWithFormTags()); |
|
22 | - foreach ($hidden_fields as $field) { |
|
23 | - echo wp_kses($field['field'], AllowedTags::getWithFormTags()); |
|
24 | - } |
|
25 | - ?> |
|
21 | + echo wp_kses($template_form_fields, AllowedTags::getWithFormTags()); |
|
22 | + foreach ($hidden_fields as $field) { |
|
23 | + echo wp_kses($field['field'], AllowedTags::getWithFormTags()); |
|
24 | + } |
|
25 | + ?> |
|
26 | 26 | <input class='button--secondary mt-settings-submit no-drag' |
27 | 27 | type="submit" |
28 | 28 | value="<?php esc_attr_e('Submit', 'event_espresso'); ?>" |