Completed
Branch dependabot/composer/tijsverkoy... (491ea6)
by
unknown
32:00 queued 25:42
created
libraries/messages/defaults/default/html_receipt_event_list.template.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 
7 7
 ?>
8 8
 <h3 class="section-title event-name">
9
-    <img class="icon" src="<?php echo esc_url_raw(EE_IMAGES_URL . 'calendar_year-24x24.png'); ?>">
9
+    <img class="icon" src="<?php echo esc_url_raw(EE_IMAGES_URL.'calendar_year-24x24.png'); ?>">
10 10
     <?php esc_html_e("Event Name:", "event_espresso") ?>
11 11
     <span class="plain-text">[EVENT_NAME]</span>
12 12
     <span class="small-text link">
Please login to merge, or discard this patch.
libraries/messages/defaults/default/html_receipt_attendee_list.template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 <li class="ticket-registration">
9 9
     <table class="registration-details">
10 10
         <tr class="odd">
11
-            <th><?php	_e('Attendee', 'event_espresso');?></th>
11
+            <th><?php	_e('Attendee', 'event_espresso'); ?></th>
12 12
             <td>[FNAME] [LNAME] ([ATTENDEE_EMAIL])</td>
13 13
         </tr>
14 14
         <tr>
15
-            <th><?php esc_html_e("Registration Code:", "event_espresso");?></th>
15
+            <th><?php esc_html_e("Registration Code:", "event_espresso"); ?></th>
16 16
             <td>[REGISTRATION_CODE] - <span class="[REGISTRATION_STATUS_ID]">[REGISTRATION_STATUS_LABEL]</span></td>
17 17
         </tr>
18 18
     </table>
Please login to merge, or discard this patch.
core/libraries/messages/EE_Messenger_Collection.lib.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
             $this->rewind();
190 190
             while ($this->valid()) {
191 191
                 echo '<h5 style="color:#2EA2CC;">
192
-                    ' . __CLASS__ . ' class : . <span style="color:#E76700">' . esc_html($this->getInfo()) . '</span>
192
+                    ' . __CLASS__.' class : . <span style="color:#E76700">'.esc_html($this->getInfo()).'</span>
193 193
                     </h5>';
194 194
                 $this->next();
195 195
             }
Please login to merge, or discard this patch.
Indentation   +122 added lines, -122 removed lines patch added patch discarded remove patch
@@ -13,128 +13,128 @@
 block discarded – undo
13 13
  */
14 14
 class EE_Messenger_Collection extends EE_Object_Collection
15 15
 {
16
-    /**
17
-     * EE_Messenger_Collection constructor.
18
-     */
19
-    public function __construct()
20
-    {
21
-        $this->interface = 'EE_messenger';
22
-    }
23
-
24
-
25
-
26
-    /**
27
-     * attaches an object to the Collection
28
-     * and sets any supplied data associated with the current iterator entry
29
-     * by calling EE_Object_Collection::set_info()
30
-     *
31
-     * @param object $object
32
-     * @param mixed  $info
33
-     * @return bool
34
-     */
35
-    public function add($object, $info = ''): bool
36
-    {
37
-        $info = empty($info) && $object instanceof $this->interface ? $object->name : $info;
38
-        return parent::add($object, $info);
39
-    }
40
-
41
-
42
-
43
-    /**
44
-     * Sets the data associated with an object in the Collection
45
-     * if no $info is supplied, then the spl_object_hash() is used
46
-     *
47
-     * @param object $object
48
-     * @param array|int|string $info
49
-     * @return bool
50
-     */
51
-    public function set_info($object, $info = ''): bool
52
-    {
53
-        $info = empty($info) && $object instanceof $this->interface ? $object->name : $info;
54
-        return parent::set_info($object, $info);
55
-    }
56
-
57
-
58
-
59
-    /**
60
-     * finds and returns an object in the Collection based on the info that was set using addObject()
61
-     * PLZ NOTE: the pointer is reset to the beginning of the collection before returning
62
-     *
63
-     * @param string|null $info
64
-     * @return null | object
65
-     */
66
-    public function get_by_info($info = '')
67
-    {
68
-        return parent::get_by_info(str_replace(' ', '_', strtolower((string) $info)));
69
-    }
70
-
71
-
72
-
73
-    /**
74
-     * returns TRUE or FALSE depending on whether the supplied object is within the Collection
75
-     *
76
-     * @param object $object
77
-     * @return bool
78
-     */
79
-    public function has($object): bool
80
-    {
81
-        return parent::has($object);
82
-    }
83
-
84
-
85
-
86
-    /**
87
-     * returns TRUE or FALSE depending on whether the supplied messenger name is within the Collection
88
-     *
89
-     * @param string $messenger_name
90
-     * @return bool
91
-     */
92
-    public function has_by_name(string $messenger_name): bool
93
-    {
94
-        return $this->get_by_info($messenger_name) instanceof $this->interface;
95
-    }
96
-
97
-
98
-
99
-    /**
100
-     * detaches an object from the Collection
101
-     *
102
-     * @param $object
103
-     * @return bool
104
-     */
105
-    public function remove($object): bool
106
-    {
107
-        return parent::remove($object);
108
-    }
109
-
110
-
111
-
112
-    /**
113
-     * current object from the Collection
114
-     *
115
-     * @return EE_messenger
116
-     */
117
-    public function current(): EE_messenger
118
-    {
119
-        return parent::current();
120
-    }
121
-
122
-
123
-    /**
124
-     * displays list of collection classes if WP_DEBUG is on
125
-     *
126
-     * @return void
127
-     */
128
-    public function show_collection_classes()
129
-    {
130
-        if (WP_DEBUG) {
131
-            $this->rewind();
132
-            while ($this->valid()) {
133
-                echo '<h5 style="color:#2EA2CC;">
16
+	/**
17
+	 * EE_Messenger_Collection constructor.
18
+	 */
19
+	public function __construct()
20
+	{
21
+		$this->interface = 'EE_messenger';
22
+	}
23
+
24
+
25
+
26
+	/**
27
+	 * attaches an object to the Collection
28
+	 * and sets any supplied data associated with the current iterator entry
29
+	 * by calling EE_Object_Collection::set_info()
30
+	 *
31
+	 * @param object $object
32
+	 * @param mixed  $info
33
+	 * @return bool
34
+	 */
35
+	public function add($object, $info = ''): bool
36
+	{
37
+		$info = empty($info) && $object instanceof $this->interface ? $object->name : $info;
38
+		return parent::add($object, $info);
39
+	}
40
+
41
+
42
+
43
+	/**
44
+	 * Sets the data associated with an object in the Collection
45
+	 * if no $info is supplied, then the spl_object_hash() is used
46
+	 *
47
+	 * @param object $object
48
+	 * @param array|int|string $info
49
+	 * @return bool
50
+	 */
51
+	public function set_info($object, $info = ''): bool
52
+	{
53
+		$info = empty($info) && $object instanceof $this->interface ? $object->name : $info;
54
+		return parent::set_info($object, $info);
55
+	}
56
+
57
+
58
+
59
+	/**
60
+	 * finds and returns an object in the Collection based on the info that was set using addObject()
61
+	 * PLZ NOTE: the pointer is reset to the beginning of the collection before returning
62
+	 *
63
+	 * @param string|null $info
64
+	 * @return null | object
65
+	 */
66
+	public function get_by_info($info = '')
67
+	{
68
+		return parent::get_by_info(str_replace(' ', '_', strtolower((string) $info)));
69
+	}
70
+
71
+
72
+
73
+	/**
74
+	 * returns TRUE or FALSE depending on whether the supplied object is within the Collection
75
+	 *
76
+	 * @param object $object
77
+	 * @return bool
78
+	 */
79
+	public function has($object): bool
80
+	{
81
+		return parent::has($object);
82
+	}
83
+
84
+
85
+
86
+	/**
87
+	 * returns TRUE or FALSE depending on whether the supplied messenger name is within the Collection
88
+	 *
89
+	 * @param string $messenger_name
90
+	 * @return bool
91
+	 */
92
+	public function has_by_name(string $messenger_name): bool
93
+	{
94
+		return $this->get_by_info($messenger_name) instanceof $this->interface;
95
+	}
96
+
97
+
98
+
99
+	/**
100
+	 * detaches an object from the Collection
101
+	 *
102
+	 * @param $object
103
+	 * @return bool
104
+	 */
105
+	public function remove($object): bool
106
+	{
107
+		return parent::remove($object);
108
+	}
109
+
110
+
111
+
112
+	/**
113
+	 * current object from the Collection
114
+	 *
115
+	 * @return EE_messenger
116
+	 */
117
+	public function current(): EE_messenger
118
+	{
119
+		return parent::current();
120
+	}
121
+
122
+
123
+	/**
124
+	 * displays list of collection classes if WP_DEBUG is on
125
+	 *
126
+	 * @return void
127
+	 */
128
+	public function show_collection_classes()
129
+	{
130
+		if (WP_DEBUG) {
131
+			$this->rewind();
132
+			while ($this->valid()) {
133
+				echo '<h5 style="color:#2EA2CC;">
134 134
                     ' . __CLASS__ . ' class : . <span style="color:#E76700">' . esc_html($this->getInfo()) . '</span>
135 135
                     </h5>';
136
-                $this->next();
137
-            }
138
-        }
139
-    }
136
+				$this->next();
137
+			}
138
+		}
139
+	}
140 140
 }
Please login to merge, or discard this patch.
reg_steps/payment_options/no_payment_required.template.php 1 patch
Indentation   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -3,36 +3,36 @@
 block discarded – undo
3 3
 /** @type array $registrations_for_free_events */
4 4
 
5 5
 if (is_array($registrations_for_free_events) && ! empty($registrations_for_free_events)) {
6
-    echo apply_filters(
7
-        'FHEE__registration_page_payment_options__no_payment_required_hdr',
8
-        sprintf(
9
-            esc_html__('%1$sNo Payment Required%2$s', 'event_espresso'),
10
-            '<h6>',
11
-            '</h6>'
12
-        )
13
-    );
14
-    foreach ($registrations_for_free_events as $registration_for_free_event) {
15
-        if (
16
-            $registration_for_free_event instanceof EE_Registration
17
-            && $registration_for_free_event->ticket()->is_free()
18
-        ) {
19
-            if ($registration_for_free_event->event() instanceof EE_Event) {
20
-                ?>
6
+	echo apply_filters(
7
+		'FHEE__registration_page_payment_options__no_payment_required_hdr',
8
+		sprintf(
9
+			esc_html__('%1$sNo Payment Required%2$s', 'event_espresso'),
10
+			'<h6>',
11
+			'</h6>'
12
+		)
13
+	);
14
+	foreach ($registrations_for_free_events as $registration_for_free_event) {
15
+		if (
16
+			$registration_for_free_event instanceof EE_Registration
17
+			&& $registration_for_free_event->ticket()->is_free()
18
+		) {
19
+			if ($registration_for_free_event->event() instanceof EE_Event) {
20
+				?>
21 21
                 <p>
22 22
                     <?php echo apply_filters(
23
-                        'FHEE__registration_page_payment_options__no_payment_required_pg',
24
-                        sprintf(
25
-                            esc_html__(
26
-                                '"%1$s" for "%2$s" is free, so no payment is required and no billing will occur.',
27
-                                'event_espresso'
28
-                            ),
29
-                            $registration_for_free_event->ticket()->name(),
30
-                            $registration_for_free_event->event()->name()
31
-                        )
32
-                    ); ?>
23
+						'FHEE__registration_page_payment_options__no_payment_required_pg',
24
+						sprintf(
25
+							esc_html__(
26
+								'"%1$s" for "%2$s" is free, so no payment is required and no billing will occur.',
27
+								'event_espresso'
28
+							),
29
+							$registration_for_free_event->ticket()->name(),
30
+							$registration_for_free_event->event()->name()
31
+						)
32
+					); ?>
33 33
                 </p>
34 34
                 <?php
35
-            }
36
-        }
37
-    }
35
+			}
36
+		}
37
+	}
38 38
 }
Please login to merge, or discard this patch.
modules/ticket_selector/templates/standard_ticket_selector.template.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso');
92 92
     }
93 93
     echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;">
94
-        ' . $ticket_price_includes_taxes . '
94
+        ' . $ticket_price_includes_taxes.'
95 95
         </p>';
96 96
 }
97 97
 ?>
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         esc_html('')
106 106
     );
107 107
 }
108
-if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) {
108
+if ( ! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) {
109 109
     add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true');
110 110
 }
111 111
 do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event);
Please login to merge, or discard this patch.
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -35,12 +35,12 @@  discard block
 block discarded – undo
35 35
         <tr>
36 36
             <th id="details-<?php esc_attr_e($EVT_ID); ?>" scope="col" class="ee-ticket-selector-ticket-details-th">
37 37
                 <?php
38
-                echo apply_filters(
39
-                    'FHEE__ticket_selector_chart_template__table_header_available_tickets',
40
-                    esc_html__('Details', 'event_espresso'),
41
-                    $EVT_ID
42
-                );
43
-                ?>
38
+				echo apply_filters(
39
+					'FHEE__ticket_selector_chart_template__table_header_available_tickets',
40
+					esc_html__('Details', 'event_espresso'),
41
+					$EVT_ID
42
+				);
43
+				?>
44 44
             </th>
45 45
             <?php if (apply_filters('FHEE__ticket_selector_chart_template__display_ticket_price_details', true)) { ?>
46 46
                 <th id="price-<?php esc_attr_e($EVT_ID); ?>" scope="col" class="ee-ticket-selector-ticket-price-th
@@ -59,12 +59,12 @@  discard block
 block discarded – undo
59 59
     </table>
60 60
 <?php
61 61
 if ($taxable_tickets && apply_filters('FHEE__ticket_selector_chart_template__display_ticket_price_details', true)) {
62
-    if ($prices_displayed_including_taxes) {
63
-        $ticket_price_includes_taxes = esc_html__('* price includes taxes', 'event_espresso');
64
-    } else {
65
-        $ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso');
66
-    }
67
-    echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;">
62
+	if ($prices_displayed_including_taxes) {
63
+		$ticket_price_includes_taxes = esc_html__('* price includes taxes', 'event_espresso');
64
+	} else {
65
+		$ticket_price_includes_taxes = esc_html__('* price does not include taxes', 'event_espresso');
66
+	}
67
+	echo '<p class="small-text lt-grey-text" style="text-align:right; margin: -1em 0 1em;">
68 68
         ' . $ticket_price_includes_taxes . '
69 69
         </p>';
70 70
 }
@@ -74,12 +74,12 @@  discard block
 block discarded – undo
74 74
 
75 75
 <?php
76 76
 if ($max_atndz > 0) {
77
-    echo apply_filters(
78
-        'FHEE__ticket_selector_chart_template__maximum_tickets_purchased_footnote',
79
-        esc_html('')
80
-    );
77
+	echo apply_filters(
78
+		'FHEE__ticket_selector_chart_template__maximum_tickets_purchased_footnote',
79
+		esc_html('')
80
+	);
81 81
 }
82 82
 if (! apply_filters('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', false)) {
83
-    add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true');
83
+	add_filter('FHEE__EE_Ticket_Selector__no_ticket_selector_submit', '__return_true');
84 84
 }
85 85
 do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event);
Please login to merge, or discard this patch.
modules/ticket_selector/templates/simple_ticket_selector.template.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@  discard block
 block discarded – undo
18 18
     />
19 19
 <?php
20 20
 if ($ticket instanceof EE_Ticket) {
21
-    do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event);
22
-    $ticket_description .= ! empty($ticket_description)
23
-        ? '<br />' . $ticket_status_display
24
-        : $ticket_status_display;
25
-    if (strpos($ticket_description, '<div') === false) {
26
-        $ticket_description = "<p>{$ticket_description}</p>";
27
-    }
28
-    ?>
21
+	do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event);
22
+	$ticket_description .= ! empty($ticket_description)
23
+		? '<br />' . $ticket_status_display
24
+		: $ticket_status_display;
25
+	if (strpos($ticket_description, '<div') === false) {
26
+		$ticket_description = "<p>{$ticket_description}</p>";
27
+	}
28
+	?>
29 29
 <div id="no-tkt-slctr-ticket-dv-<?php echo esc_attr($EVT_ID); ?>" class="no-tkt-slctr-ticket-dv">
30 30
     <div class="no-tkt-slctr-ticket-content-dv">
31 31
         <h5><?php echo esc_html($ticket->name()); ?></h5>
@@ -34,5 +34,5 @@  discard block
 block discarded – undo
34 34
         <?php } ?>
35 35
     </div><!-- .no-tkt-slctr-ticket-content-dv -->
36 36
     <?php
37
-    do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event);
37
+	do_action('AHEE__ticket_selector_chart__template__after_ticket_selector', $EVT_ID, $event);
38 38
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 if ($ticket instanceof EE_Ticket) {
28 28
     do_action('AHEE__ticket_selector_chart__template__before_ticket_selector', $event);
29 29
     $ticket_description .= ! empty($ticket_description)
30
-        ? '<br />' . $ticket_status_display
30
+        ? '<br />'.$ticket_status_display
31 31
         : $ticket_status_display;
32 32
     if (strpos($ticket_description, '<div') === false) {
33 33
         $ticket_description = "<p>{$ticket_description}</p>";
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 <div id="no-tkt-slctr-ticket-dv-<?php echo esc_attr($EVT_ID); ?>" class="no-tkt-slctr-ticket-dv">
37 37
     <div class="no-tkt-slctr-ticket-content-dv">
38 38
         <h5><?php echo esc_html($ticket->name()); ?></h5>
39
-        <?php if (! empty($ticket_description)) { ?>
39
+        <?php if ( ! empty($ticket_description)) { ?>
40 40
             <?php echo wp_kses($ticket_description, AllowedTags::getAllowedTags()); ?>
41 41
         <?php } ?>
42 42
     </div><!-- .no-tkt-slctr-ticket-content-dv -->
Please login to merge, or discard this patch.
libraries/messages/defaults/default/html_receipt_attendee_list.template.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,11 +8,11 @@
 block discarded – undo
8 8
 <li class="ticket-registration">
9 9
     <table class="registration-details">
10 10
         <tr class="odd">
11
-            <th><?php	_e('Attendee', 'event_espresso');?></th>
11
+            <th><?php	_e('Attendee', 'event_espresso'); ?></th>
12 12
             <td>[FNAME] [LNAME] ([ATTENDEE_EMAIL])</td>
13 13
         </tr>
14 14
         <tr>
15
-            <th><?php esc_html_e("Registration Code:", "event_espresso");?></th>
15
+            <th><?php esc_html_e("Registration Code:", "event_espresso"); ?></th>
16 16
             <td>[REGISTRATION_CODE] - <span class="[REGISTRATION_STATUS_ID]">[REGISTRATION_STATUS_LABEL]</span></td>
17 17
         </tr>
18 18
         <tr>
Please login to merge, or discard this patch.
payment_methods/Paypal_Pro/templates/paypal_pro_debug_info.template.php 1 patch
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -17,39 +17,39 @@  discard block
 block discarded – undo
17 17
     <div class="sandbox-panel">
18 18
     <h2 class="section-title"><?php esc_html_e('PayPal Sandbox Mode', 'event_espresso'); ?></h2>
19 19
     <h3 style="color:#ff0000;"><?php
20
-        esc_html_e(
21
-            'Debug Mode Is Turned On. Payments will not be processed',
22
-            'event_espresso'
23
-        ); ?></h3>
20
+		esc_html_e(
21
+			'Debug Mode Is Turned On. Payments will not be processed',
22
+			'event_espresso'
23
+		); ?></h3>
24 24
 
25 25
     <p class="test-credit-cards-info-pg" style="margin-bottom:0;">
26 26
         <strong><?php esc_html_e('Testing Guidelines', 'event_espresso'); ?></strong>
27 27
     </p>
28 28
     <ul style="margin:1em 2em 1.5em; line-height:1.2em;">
29 29
         <li><?php
30
-            esc_html_e(
31
-                'While testing, use the credit card number associated with your sandbox account.',
32
-                'event_espresso'
33
-            ); ?></li>
30
+			esc_html_e(
31
+				'While testing, use the credit card number associated with your sandbox account.',
32
+				'event_espresso'
33
+			); ?></li>
34 34
         <li><?php
35
-            printf(
36
-                esc_html__(
37
-                    'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.',
38
-                    'event_espresso'
39
-                ),
40
-                '<a href="http://developer.paypal.com">developer.paypal.com</a>'
41
-            ); ?></li>
35
+			printf(
36
+				esc_html__(
37
+					'To find the sandbox account\'s credit card, go to %1$s, then "Dashboard", then under Sandbox click "Accounts", then click your account and click "Profile", then in the popup that appears click on the "Funding" tab. Your testing card is listed there.',
38
+					'event_espresso'
39
+				),
40
+				'<a href="http://developer.paypal.com">developer.paypal.com</a>'
41
+			); ?></li>
42 42
         <li><?php
43
-            esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li>
43
+			esc_html_e('CVV2 should be 115', 'event_espresso'); ?></li>
44 44
     </ul>
45 45
 
46 46
     <p class="test-credit-cards-info-pg">
47 47
         <strong><?php esc_html_e('Credit Card Numbers Used for Testing', 'event_espresso'); ?></strong><br/>
48 48
         <span class="small-text"><?php
49
-            esc_html_e(
50
-                'Use the following credit card numbers for testing. Any other card number produces a general failure.',
51
-                'event_espresso'
52
-            ); ?></span>
49
+			esc_html_e(
50
+				'Use the following credit card numbers for testing. Any other card number produces a general failure.',
51
+				'event_espresso'
52
+			); ?></span>
53 53
     </p>
54 54
 
55 55
     <div class="tbl-wrap">
@@ -73,18 +73,18 @@  discard block
 block discarded – undo
73 73
     <p class="test-credit-cards-info-pg">
74 74
         <strong><?php esc_html_e('Testing Result Code Responses', 'event_espresso'); ?></strong><br/>
75 75
         <span class="small-text"><?php
76
-            printf(
77
-                esc_html__(
78
-                    'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s',
79
-                    'event_espresso'
80
-                ),
81
-                "<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>",
82
-                "</a>",
83
-                "<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>",
84
-                "</a>",
85
-                "<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>",
86
-                "</a>"
87
-            ); ?></span>
76
+			printf(
77
+				esc_html__(
78
+					'You can use the amount of the transaction to generate a particular result code (see %s PayPal\'s documentation%s). The table below lists the general guidelines for specifying amounts. IMPORTANT: before you attempt any of these, ensure your sandbox PayPal account has %s "Negative Testing" set to on%s. Also be aware that you can generate AVS errors by using certain strings in your address field, and CVV errors using certain CVV values. See %s this PayPal doc %s',
79
+					'event_espresso'
80
+				),
81
+				"<a href='https://developer.paypal.com/docs/classic/api/errorcodes/#id09C3GA00GR1' target='_blank'>",
82
+				"</a>",
83
+				"<a href='https://docs.google.com/a/eventespresso.com/file/d/0B5P8GXTvZgfMNXNkZ2s5VUlHTUk/edit?usp=drivesdk' target='_blank'>",
84
+				"</a>",
85
+				"<a href='https://cms.paypal.com/ca/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_testing_SBTestErrorConditions' target='_blank'>",
86
+				"</a>"
87
+			); ?></span>
88 88
     </p>
89 89
 
90 90
     <div class="tbl-wrap">
Please login to merge, or discard this patch.
payment_methods/Aim/templates/authorize_net_aim_debug_info.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
18 18
 
19 19
         <p>
20 20
             <?php esc_html_e(
21
-                'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.',
22
-                'event_espresso'
23
-            ); ?>
21
+				'Test Mode allows you to submit test transactions to the payment gateway. Transactions that are submitted while Test Mode is ON are NOT actually processed. The result of a transaction depends on the card number submitted, and the invoice amount. If you want a transaction to be approved, use one of the following card numbers.',
22
+				'event_espresso'
23
+			); ?>
24 24
         </p>
25 25
 
26 26
         <p>
Please login to merge, or discard this patch.