Completed
Branch fix/kses-2 (61b36a)
by
unknown
11:06 queued 09:09
created
messages/templates/ee_msg_editor_active_context_element.template.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -15,22 +15,22 @@  discard block
 block discarded – undo
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);
@@ -44,10 +44,10 @@  discard block
 block discarded – undo
44 44
         </span>
45 45
         <span class="ee-on-off-toggle-label">
46 46
             <?php
47
-            echo ($is_active
48
-                ? wp_kses($active_message, AllowedTags::getAllowedTags())
49
-                : wp_kses($inactive_message, AllowedTags::getAllowedTags()));
50
-            ?>
47
+			echo ($is_active
48
+				? wp_kses($active_message, AllowedTags::getAllowedTags())
49
+				: wp_kses($inactive_message, AllowedTags::getAllowedTags()));
50
+			?>
51 51
         </span>
52 52
         <div class="hidden js-data">
53 53
             <span class="ee-active-message"><?php echo wp_kses($active_message, AllowedTags::getAllowedTags()); ?></span>
Please login to merge, or discard this patch.
messages/templates/ee_msg_details_main_add_meta_box.template.php 1 patch
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
 
19 19
     <h4 class="admin-primary-mbox-h4">
20 20
         <?php
21
-        echo ($event_name
22
-            ? sprintf(
23
-            /* translators: %s: event name */
24
-                esc_html__('%1$s Custom Template', 'event_espresso'),
25
-                $event_name
26
-            )
27
-            : '');
28
-        ?>
21
+		echo ($event_name
22
+			? sprintf(
23
+			/* translators: %s: event name */
24
+				esc_html__('%1$s Custom Template', 'event_espresso'),
25
+				$event_name
26
+			)
27
+			: '');
28
+		?>
29 29
     </h4>
30 30
     <p><?php echo wp_kses($action_message, AllowedTags::getWithFormTags()); ?></p>
31 31
 
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
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">
Please login to merge, or discard this patch.