Completed
Branch dependabot/composer/tijsverkoy... (491ea6)
by
unknown
32:00 queued 25:42
created
caffeinated/admin/extend/events/help_tabs/import_page.help_tab.php 1 patch
Indentation   +29 added lines, -29 removed lines patch added patch discarded remove patch
@@ -1,48 +1,48 @@
 block discarded – undo
1 1
 <p><strong><?php esc_html_e('Importing CSV Event Espresso Data', 'event_espresso'); ?></strong></p>
2 2
 <p>
3 3
     <?php esc_html_e(
4
-        'The importer can be used to import event information into Event Espresso using a CSV file.',
5
-        'event_espresso'
6
-    ); ?>
4
+		'The importer can be used to import event information into Event Espresso using a CSV file.',
5
+		'event_espresso'
6
+	); ?>
7 7
 </p>
8 8
 <p><strong><?php esc_html_e("Importing from other Event Espresso 4 Sites", 'event_espresso'); ?></strong></p>
9 9
 <p>
10 10
     <?php esc_html_e(
11
-        'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).',
12
-        'event_espresso'
13
-    ); ?>
11
+		'To import Event Espresso data from another Event Espresso 4 install, export a CSV file from the admin Events overview page, or anywhere you can generate a CSV export file from. Then upload that file here (regardless of what type of information was exported).',
12
+		'event_espresso'
13
+	); ?>
14 14
 </p>
15 15
 <p>
16 16
     <?php esc_html_e(
17
-        'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.',
18
-        'event_espresso'
19
-    ); ?>
17
+		'Note: its possible that data from the other site have the same IDs as data in this site. The importer recognizes that this data is from a different database and inserts new items for each item in the CSV file, regardless of whether its ID matches that of an item in this site\'s database or not. However, the importer also remembers the mapping from the old site\'s database to this site\'s database, and on subsequent CSV importers from that site, the data in this database will be updated instead of re-inserting new items.',
18
+		'event_espresso'
19
+	); ?>
20 20
 </p>
21 21
 <p><strong><?php esc_html_e("Importing from this Site", 'event_espresso'); ?></strong></p>
22 22
 <p><?php
23
-    esc_html_e(
24
-        "You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).",
25
-        'event_espresso'
26
-    ); ?></p>
23
+	esc_html_e(
24
+		"You may want to export data from this site, modify it (or modify the database), and re-import it. When this is done, the importer recognizes that the data is from this site\'s database and updates the records (instead of inserting new items like it would have, had the CSV data been from a different site).",
25
+		'event_espresso'
26
+	); ?></p>
27 27
 
28 28
 <p><strong><?php esc_html_e("Notes about Generating your own CSV Import Files", "event_espresso"); ?></strong></p>
29 29
 <p><?php
30
-    esc_html_e(
31
-        "If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.",
32
-        "event_espresso"
33
-    ); ?></p>
30
+	esc_html_e(
31
+		"If you think you could save time entering data into a CSV file, you can use the sample import file below. Note that creating your own CSV file is more complicated than in Event Espresso 3.1 because of the more advanced data structure, and so we recommend creating/editing your events using the normal web-interface.",
32
+		"event_espresso"
33
+	); ?></p>
34 34
 <p><?php
35
-    esc_html_e(
36
-        "The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ",
37
-        "event_espresso"
38
-    ); ?></p>
35
+	esc_html_e(
36
+		"The export file is just an export of an event, or if you do not have any events in your system, it will only contain column headers. Do not change those column headers. Add as many rows as you like. ",
37
+		"event_espresso"
38
+	); ?></p>
39 39
 <p><?php
40
-    esc_html_e(
41
-        "In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)",
42
-        "event_espresso"
43
-    ); ?></p>
40
+	esc_html_e(
41
+		"In the ID columns (columns ending in '_ID'), you should enter 'temporary IDs', which are unique numbers/words that identify that item, which can be used later when you want to refer to that item. (For example, if you assign an event's EVT_ID to be a temporary id of 'my-event-1', then use that same phrase 'my-event-1' to refer to that event in the Datetime model's EVT_ID column)",
42
+		"event_espresso"
43
+	); ?></p>
44 44
 <p><?php
45
-    esc_html_e(
46
-        "Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)",
47
-        "event_espresso"
48
-    ); ?></p>
49 45
\ No newline at end of file
46
+	esc_html_e(
47
+		"Also note, you do NOT have to enter info in for each model. (You can, for example, only enter in Term_Taxonomies and Term model data)",
48
+		"event_espresso"
49
+	); ?></p>
50 50
\ No newline at end of file
Please login to merge, or discard this patch.
Invoice/templates/invoice_payment_details_content.template.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             <?php echo esc_html($page_title); ?>
21 21
         </h4>
22 22
     <?php }
23
-    if (! empty($invoice_url)) { ?>
23
+	if (! empty($invoice_url)) { ?>
24 24
         <p>
25 25
             <a href="<?php echo esc_url_raw($invoice_url); ?>"
26 26
                class="ee-button-lnk inline-button ee-invoice-lnk"
@@ -35,10 +35,10 @@  discard block
 block discarded – undo
35 35
                 <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p>
36 36
             </div>
37 37
         <?php }
38
-        if (! empty($page_extra_info)) { ?>
38
+		if (! empty($page_extra_info)) { ?>
39 39
             <div class="address-block">
40 40
                 <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?>
41 41
             </div>
42 42
         <?php }
43
-    } ?>
43
+	} ?>
44 44
 </div>
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,12 +16,12 @@  discard block
 block discarded – undo
16 16
 $allowedtags = AllowedTags::getAllowedTags();
17 17
 ?>
18 18
 <div class="event-display-boxes">
19
-    <?php if (! empty($page_title)) { ?>
19
+    <?php if ( ! empty($page_title)) { ?>
20 20
         <h4 id="invoice_title" class="payment_type_title section-heading">
21 21
             <?php echo esc_html($page_title); ?>
22 22
         </h4>
23 23
     <?php }
24
-    if (! empty($invoice_url)) { ?>
24
+    if ( ! empty($invoice_url)) { ?>
25 25
         <p>
26 26
             <a href="<?php echo esc_url_raw($invoice_url); ?>"
27 27
                class="ee-button-lnk inline-button ee-invoice-lnk"
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
                 <p class="instruct"><?php echo wpautop(wp_kses($page_confirmation_text, $allowedtags)); ?></p>
37 37
             </div>
38 38
         <?php }
39
-        if (! empty($page_extra_info)) { ?>
39
+        if ( ! empty($page_extra_info)) { ?>
40 40
             <div class="address-block">
41 41
                 <?php echo wpautop(wp_kses($page_extra_info, $allowedtags)); ?>
42 42
             </div>
Please login to merge, or discard this patch.
payment_methods/Bank/EE_PMT_Bank.pm.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     {
21 21
         $this->_pretty_name = esc_html__("Bank", 'event_espresso');
22 22
         parent::__construct($pm_instance);
23
-        $this->_default_button_url  = $this->file_url() . 'lib/bank-logo.png';
23
+        $this->_default_button_url  = $this->file_url().'lib/bank-logo.png';
24 24
         $this->_default_description = esc_html__(
25 25
             'Make payment using an electronic funds transfer from your bank.',
26 26
             'event_espresso'
Please login to merge, or discard this patch.
Indentation   +117 added lines, -117 removed lines patch added patch discarded remove patch
@@ -9,129 +9,129 @@
 block discarded – undo
9 9
  */
10 10
 class EE_PMT_Bank extends EE_PMT_Base
11 11
 {
12
-    /**
13
-     * @param EE_Payment_Method|null $pm_instance
14
-     * @throws ReflectionException
15
-     * @throws EE_Error
16
-     */
17
-    public function __construct($pm_instance = null)
18
-    {
19
-        $this->_pretty_name = esc_html__("Bank", 'event_espresso');
20
-        parent::__construct($pm_instance);
21
-        $this->_default_button_url  = $this->file_url() . 'lib/bank-logo.png';
22
-        $this->_default_description = esc_html__(
23
-            'Make payment using an electronic funds transfer from your bank.',
24
-            'event_espresso'
25
-        );
26
-    }
12
+	/**
13
+	 * @param EE_Payment_Method|null $pm_instance
14
+	 * @throws ReflectionException
15
+	 * @throws EE_Error
16
+	 */
17
+	public function __construct($pm_instance = null)
18
+	{
19
+		$this->_pretty_name = esc_html__("Bank", 'event_espresso');
20
+		parent::__construct($pm_instance);
21
+		$this->_default_button_url  = $this->file_url() . 'lib/bank-logo.png';
22
+		$this->_default_description = esc_html__(
23
+			'Make payment using an electronic funds transfer from your bank.',
24
+			'event_espresso'
25
+		);
26
+	}
27 27
 
28 28
 
29
-    /**
30
-     * Creates the billing form for this payment method type
31
-     *
32
-     * @param EE_Transaction|null $transaction
33
-     * @return EE_Billing_Info_Form|null
34
-     * @throws EE_Error
35
-     * @throws ReflectionException
36
-     */
37
-    public function generate_new_billing_form(EE_Transaction $transaction = null)
38
-    {
39
-    return null;
40
-    }
29
+	/**
30
+	 * Creates the billing form for this payment method type
31
+	 *
32
+	 * @param EE_Transaction|null $transaction
33
+	 * @return EE_Billing_Info_Form|null
34
+	 * @throws EE_Error
35
+	 * @throws ReflectionException
36
+	 */
37
+	public function generate_new_billing_form(EE_Transaction $transaction = null)
38
+	{
39
+	return null;
40
+	}
41 41
 
42 42
 
43
-    /**
44
-     * Gets the form for all the settings related to this payment method type
45
-     *
46
-     * @return EE_Payment_Method_Form
47
-     * @throws EE_Error
48
-     * @throws ReflectionException
49
-     */
50
-    public function generate_new_settings_form()
51
-    {
52
-        return new EE_Payment_Method_Form(
53
-            [
54
-                'extra_meta_inputs' => [
55
-                    'page_title'           => new EE_Text_Input(
56
-                        [
57
-                            'html_label_text' => sprintf(
58
-                                esc_html__("Title %s", "event_espresso"),
59
-                                $this->get_help_tab_link()
60
-                            ),
61
-                            'default'         => esc_html__("Electronic Funds Transfers", 'event_espresso'),
62
-                        ]
63
-                    ),
64
-                    'payment_instructions' => new EE_Text_Area_Input(
65
-                        [
66
-                            'html_label_text'       => sprintf(
67
-                                esc_html__("Payment Instructions %s", "event_espresso"),
68
-                                $this->get_help_tab_link()
69
-                            ),
70
-                            'html_help_text'        => esc_html__(
71
-                                'Provide instructions on how registrants can send the bank draft payment. Eg, mention your account name, bank account number, bank name, bank routing code, and bank address, etc.',
72
-                                'event_espresso'
73
-                            ),
74
-                            'default'               => sprintf(
75
-                                esc_html__(
76
-                                    'Please initiate an electronic payment using the following bank information: %1$sAccount Owner: Luke Skywalker%1$sBank Account # 1234567890%1$sBank Name: Rebellion Bank%1$sRouting Number: 12345%1$sBank Address: 12345 Wookie Rd., Planet Corellian.%1$sPayment must be received within 48 hours of event date.',
77
-                                    'event_espresso'
78
-                                ),
79
-                                "\n"
80
-                            ),
81
-                            'validation_strategies' => [
82
-                                new EE_Full_HTML_Validation_Strategy(),
83
-                            ],
84
-                        ]
85
-                    ),
86
-                ],
87
-                'exclude'           => ['PMD_debug_mode'],
88
-            ]
89
-        );
90
-    }
43
+	/**
44
+	 * Gets the form for all the settings related to this payment method type
45
+	 *
46
+	 * @return EE_Payment_Method_Form
47
+	 * @throws EE_Error
48
+	 * @throws ReflectionException
49
+	 */
50
+	public function generate_new_settings_form()
51
+	{
52
+		return new EE_Payment_Method_Form(
53
+			[
54
+				'extra_meta_inputs' => [
55
+					'page_title'           => new EE_Text_Input(
56
+						[
57
+							'html_label_text' => sprintf(
58
+								esc_html__("Title %s", "event_espresso"),
59
+								$this->get_help_tab_link()
60
+							),
61
+							'default'         => esc_html__("Electronic Funds Transfers", 'event_espresso'),
62
+						]
63
+					),
64
+					'payment_instructions' => new EE_Text_Area_Input(
65
+						[
66
+							'html_label_text'       => sprintf(
67
+								esc_html__("Payment Instructions %s", "event_espresso"),
68
+								$this->get_help_tab_link()
69
+							),
70
+							'html_help_text'        => esc_html__(
71
+								'Provide instructions on how registrants can send the bank draft payment. Eg, mention your account name, bank account number, bank name, bank routing code, and bank address, etc.',
72
+								'event_espresso'
73
+							),
74
+							'default'               => sprintf(
75
+								esc_html__(
76
+									'Please initiate an electronic payment using the following bank information: %1$sAccount Owner: Luke Skywalker%1$sBank Account # 1234567890%1$sBank Name: Rebellion Bank%1$sRouting Number: 12345%1$sBank Address: 12345 Wookie Rd., Planet Corellian.%1$sPayment must be received within 48 hours of event date.',
77
+									'event_espresso'
78
+								),
79
+								"\n"
80
+							),
81
+							'validation_strategies' => [
82
+								new EE_Full_HTML_Validation_Strategy(),
83
+							],
84
+						]
85
+					),
86
+				],
87
+				'exclude'           => ['PMD_debug_mode'],
88
+			]
89
+		);
90
+	}
91 91
 
92 92
 
93
-    /**
94
-     * Adds the help tab
95
-     *
96
-     * @return array
97
-     * @see EE_PMT_Base::help_tabs_config()
98
-     */
99
-    public function help_tabs_config()
100
-    {
101
-        return [
102
-            $this->get_help_tab_name() => [
103
-                'title'    => esc_html__('Bank Draft Settings', 'event_espresso'),
104
-                'filename' => 'payment_methods_overview_bank_draft',
105
-            ],
106
-        ];
107
-    }
93
+	/**
94
+	 * Adds the help tab
95
+	 *
96
+	 * @return array
97
+	 * @see EE_PMT_Base::help_tabs_config()
98
+	 */
99
+	public function help_tabs_config()
100
+	{
101
+		return [
102
+			$this->get_help_tab_name() => [
103
+				'title'    => esc_html__('Bank Draft Settings', 'event_espresso'),
104
+				'filename' => 'payment_methods_overview_bank_draft',
105
+			],
106
+		];
107
+	}
108 108
 
109 109
 
110
-    /**
111
-     * For adding any html output ab ove the payment overview.
112
-     * Many gateways won't want ot display anything, so this function just returns an empty string.
113
-     * Other gateways may want to override this, such as offline gateways.
114
-     *
115
-     * @param EE_Payment $payment
116
-     * @return string
117
-     * @throws EE_Error
118
-     * @throws ReflectionException
119
-     */
120
-    public function payment_overview_content(EE_Payment $payment)
121
-    {
122
-        $extra_meta_for_payment_method = $this->_pm_instance->all_extra_meta_array();
123
-        $template_vars                 = array_merge(
124
-            [
125
-                'payment_method'       => $this->_pm_instance,
126
-                'payment'              => $payment,
127
-                'page_title'           => '',
128
-                'payment_instructions' => '',
129
-            ],
130
-            $extra_meta_for_payment_method
131
-        );
132
-        return EEH_Template::locate_template(
133
-            'payment_methods/Bank/templates/bank_payment_details_content.template.php',
134
-            $template_vars
135
-        );
136
-    }
110
+	/**
111
+	 * For adding any html output ab ove the payment overview.
112
+	 * Many gateways won't want ot display anything, so this function just returns an empty string.
113
+	 * Other gateways may want to override this, such as offline gateways.
114
+	 *
115
+	 * @param EE_Payment $payment
116
+	 * @return string
117
+	 * @throws EE_Error
118
+	 * @throws ReflectionException
119
+	 */
120
+	public function payment_overview_content(EE_Payment $payment)
121
+	{
122
+		$extra_meta_for_payment_method = $this->_pm_instance->all_extra_meta_array();
123
+		$template_vars                 = array_merge(
124
+			[
125
+				'payment_method'       => $this->_pm_instance,
126
+				'payment'              => $payment,
127
+				'page_title'           => '',
128
+				'payment_instructions' => '',
129
+			],
130
+			$extra_meta_for_payment_method
131
+		);
132
+		return EEH_Template::locate_template(
133
+			'payment_methods/Bank/templates/bank_payment_details_content.template.php',
134
+			$template_vars
135
+		);
136
+	}
137 137
 }
Please login to merge, or discard this patch.
Paypal_Express/templates/paypal_express_debug_info.template.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -2,25 +2,25 @@
 block discarded – undo
2 2
 
3 3
     <h4 class="important-notice">
4 4
         <?php esc_html_e(
5
-            'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.',
6
-            'event_espresso'
7
-        ); ?></h4>
5
+			'Debug Mode is turned ON. You will be redirected to the PayPal Sandbox environment. Please use your Sandbox PayPal account for the checkout.',
6
+			'event_espresso'
7
+		); ?></h4>
8 8
 
9 9
     <h4><?php esc_html_e('How do I test specific error codes?', 'event_espresso'); ?></h4>
10 10
     <p>
11 11
         <?php esc_html_e(
12
-            'To trigger an error condition on an amount-related field, 
12
+			'To trigger an error condition on an amount-related field, 
13 13
 			specify a error code value as a number with two digits to the right of the decimal point. 
14 14
 			For example, specify a value of 107.55 to trigger the 10755 error.',
15
-            'event_espresso'
16
-        ); ?>
15
+			'event_espresso'
16
+		); ?>
17 17
     </p>
18 18
     <p>
19 19
         <?php printf(
20
-            esc_html__('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'),
21
-            '<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">',
22
-            '</a>'
23
-        ); ?>
20
+			esc_html__('More details can be found here: %1$s Testing Error Conditions %2$s.', 'event_espresso'),
21
+			'<a href="https://developer.paypal.com/docs/classic/lifecycle/sb_error-conditions">',
22
+			'</a>'
23
+		); ?>
24 24
     </p>
25 25
 
26 26
 </div>
27 27
\ No newline at end of file
Please login to merge, or discard this patch.
help_tabs/payment_methods_overview_paypalstandard.help_tab.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,17 +23,17 @@
 block discarded – undo
23 23
 <li>
24 24
 <strong><?php esc_html_e('PayPal Calculates Taxes', 'event_espresso'); ?></strong><br />
25 25
 <?php printf(esc_html__('If set to "Yes", we will indicate to PayPal that it should calculate the taxes on the order and add it. This means PayPal\'s tax calculations will be used on the order instead of Event Espresso\'s. %1$sRead here for more information.%2$s', 'event_espresso'), "<a href='https://www.paypal.com/ca/cgi-bin/webscr?cmd=xpt/Marketing/shipping/EasyCalculateShipAndTax-outside' target='_blank'>", '</a>'); ?><br/>
26
-<?php esc_html_e('Note: It may confuse users if Event Espresso initially calculates taxes on the order, and then they go to PayPal and it calculates taxes differently. So it is recommended that if PayPal is calculating taxes, that you do not set any taxes in Event Espresso.', 'event_espresso');?>
26
+<?php esc_html_e('Note: It may confuse users if Event Espresso initially calculates taxes on the order, and then they go to PayPal and it calculates taxes differently. So it is recommended that if PayPal is calculating taxes, that you do not set any taxes in Event Espresso.', 'event_espresso'); ?>
27 27
 </li>
28 28
 <li>
29 29
 <strong><?php esc_html_e('PayPal Calculates Shipping', 'event_espresso'); ?></strong><br />
30 30
 <?php esc_html_e('Similar to the "PayPal Calculates Taxes" setting, if this is set to "Yes", we will indicate to PayPal that it should calculate the shipping on each payment (if there are multiple payments for a single transaction, PayPal is permitted to add shipping charges to each payment.)', 'event_espresso'); ?><br/>
31
-<?php esc_html_e('Important Note: PayPal will ONLY calculate shipping on an order if "Shipping Address Options" is set to "Prompt for an Address" (otherwise how will PayPal know how much to charge for shipping if it doesn\'t know where it\'s shipping to?)', 'event_espresso');?>
31
+<?php esc_html_e('Important Note: PayPal will ONLY calculate shipping on an order if "Shipping Address Options" is set to "Prompt for an Address" (otherwise how will PayPal know how much to charge for shipping if it doesn\'t know where it\'s shipping to?)', 'event_espresso'); ?>
32 32
 <li>
33
-<strong><?php esc_html_e('Notes Regarding Paypal Taxes and Shipping', 'event_espresso');?></strong><br/>
34
-<?php esc_html_e('If you want PayPal to calculate taxes and shipping on an order, those changes will NOT appear during the initial registration process until the user is redirected to PayPal for payment.', 'event_espresso');?><br/>
35
-<?php esc_html_e('However, after the user has returned from PayPal, their order in Event Espresso will be updated with the new taxes and added shipping charges (e.g. it will appear on their receipt.)', 'event_espresso');?><br/>
36
-<?php esc_html_e('Also Note: In order for PayPal to properly calculate taxes and shipping, they need to receive the entire order at the same time. So if a user goes to make a payment using PayPal, and their order somehow already has a payment on it, PayPal CANNOT calculate taxes or shipping on that order.', 'event_espresso');?>
33
+<strong><?php esc_html_e('Notes Regarding Paypal Taxes and Shipping', 'event_espresso'); ?></strong><br/>
34
+<?php esc_html_e('If you want PayPal to calculate taxes and shipping on an order, those changes will NOT appear during the initial registration process until the user is redirected to PayPal for payment.', 'event_espresso'); ?><br/>
35
+<?php esc_html_e('However, after the user has returned from PayPal, their order in Event Espresso will be updated with the new taxes and added shipping charges (e.g. it will appear on their receipt.)', 'event_espresso'); ?><br/>
36
+<?php esc_html_e('Also Note: In order for PayPal to properly calculate taxes and shipping, they need to receive the entire order at the same time. So if a user goes to make a payment using PayPal, and their order somehow already has a payment on it, PayPal CANNOT calculate taxes or shipping on that order.', 'event_espresso'); ?>
37 37
 </li>
38 38
 <li>
39 39
 <strong><?php esc_html_e('Shipping Address Options', 'event_espresso'); ?></strong><br />
Please login to merge, or discard this patch.
admin_pages/maintenance/templates/ee_migration_was_borked_page.template.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 <p>
98 98
     <?php printf(
99 99
         esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
100
-        '<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
100
+        '<a href="mailto:'.EE_SUPPORT_EMAIL.'">',
101 101
         EE_SUPPORT_EMAIL,
102 102
         "</a>"
103 103
     ); ?>
Please login to merge, or discard this patch.
Indentation   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -7,13 +7,13 @@  discard block
 block discarded – undo
7 7
 <h1><?php esc_html_e("Data Migration Error", "event_espresso"); ?></h1>
8 8
 <p class='error'>
9 9
     <?php printf(
10
-        esc_html__(
11
-            "Your last Database Update had a %s fatal error and was halted%s.",
12
-            "event_espresso"
13
-        ),
14
-        "<b>",
15
-        "</b>"
16
-    ); ?>
10
+		esc_html__(
11
+			"Your last Database Update had a %s fatal error and was halted%s.",
12
+			"event_espresso"
13
+		),
14
+		"<b>",
15
+		"</b>"
16
+	); ?>
17 17
 </p>
18 18
 <a id="show-hide-migration-warnings" class="display-the-hidden">
19 19
     <?php esc_html_e("Show Errors", 'event_espresso'); ?>
@@ -25,15 +25,15 @@  discard block
 block discarded – undo
25 25
 </ul>
26 26
 <h2>
27 27
     <?php esc_html_e(
28
-        "Fill out the below form to automatically Send Event Espresso a Crash Report",
29
-        "event_espresso"
30
-    ); ?>
28
+		"Fill out the below form to automatically Send Event Espresso a Crash Report",
29
+		"event_espresso"
30
+	); ?>
31 31
 </h2>
32 32
 <form action='<?php echo esc_url_raw(
33
-    EE_Admin_Page::add_query_args_and_nonce(
34
-        ['action' => 'send_migration_crash_report'],
35
-        EE_MAINTENANCE_ADMIN_URL
36
-    )
33
+	EE_Admin_Page::add_query_args_and_nonce(
34
+		['action' => 'send_migration_crash_report'],
35
+		EE_MAINTENANCE_ADMIN_URL
36
+	)
37 37
 );
38 38
 ?>' method='post'
39 39
 >
@@ -59,9 +59,9 @@  discard block
 block discarded – undo
59 59
                        type='text'
60 60
                        style="width:200px"
61 61
                        value='<?php printf(
62
-                           esc_html__("Admin of %s", "event_espresso"),
63
-                           get_bloginfo('name', 'display')
64
-                       ); ?>'
62
+						   esc_html__("Admin of %s", "event_espresso"),
63
+						   get_bloginfo('name', 'display')
64
+					   ); ?>'
65 65
                 />
66 66
             </td>
67 67
         </tr>
@@ -71,14 +71,14 @@  discard block
 block discarded – undo
71 71
             </td>
72 72
             <td>
73 73
                 <textarea name="body" id="body" class='system_status_info'><?php esc_textarea(__(
74
-                    "Enter any comments about why you think the error may have occurred",
75
-                    "event_espresso"
76
-                )); ?></textarea>
74
+					"Enter any comments about why you think the error may have occurred",
75
+					"event_espresso"
76
+				)); ?></textarea>
77 77
                 <p class='description'>
78 78
                     <?php esc_textarea(__(
79
-                        "Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.",
80
-                        "event_espresso"
81
-                    )); ?>
79
+						"Note: the System Information report will also be added to the email's body, which contains information about your Event Espresso, Wordpress, and PHP settings which can be helpful in debugging the problem.",
80
+						"event_espresso"
81
+					)); ?>
82 82
                 </p>
83 83
             </td>
84 84
         </tr>
@@ -94,24 +94,24 @@  discard block
 block discarded – undo
94 94
 <br>
95 95
 <p>
96 96
     <?php printf(
97
-        esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
98
-        '<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
99
-        EE_SUPPORT_EMAIL,
100
-        "</a>"
101
-    ); ?>
97
+		esc_html__('...or copy-and-paste the below information to %1$s %2$s %3$s', "event_espresso"),
98
+		'<a href="mailto:' . EE_SUPPORT_EMAIL . '">',
99
+		EE_SUPPORT_EMAIL,
100
+		"</a>"
101
+	); ?>
102 102
 </p>
103 103
 <textarea class="system_status_info"><?php print_r(EEM_System_Status::instance()->get_system_stati()) ?></textarea>
104 104
 <p>
105 105
     <?php printf(
106
-        esc_html__('%1$sNext Step%2$s', 'event_espresso'),
107
-        "<a href='$next_url'>",
108
-        "</a>"
109
-    ); ?>
106
+		esc_html__('%1$sNext Step%2$s', 'event_espresso'),
107
+		"<a href='$next_url'>",
108
+		"</a>"
109
+	); ?>
110 110
 </p>
111 111
 <p>
112 112
     <?php printf(
113
-        esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'),
114
-        "<a href='$next_url'>",
115
-        "</a>"
116
-    ); ?>
113
+		esc_html__('...or %1$sDON\'T send crash report%2$s.', 'event_espresso'),
114
+		"<a href='$next_url'>",
115
+		"</a>"
116
+	); ?>
117 117
 </p>
Please login to merge, or discard this patch.
maintenance/templates/ee_confirm_migration_crash_report_sent.template.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     <p>
25 25
         <?php printf(
26 26
             esc_html__("Please copy-and-paste the system information below to %s", "event_espresso"),
27
-            '<a href="mailto:' . EE_SUPPORT_EMAIL . '">' . EE_SUPPORT_EMAIL . "</a>"
27
+            '<a href="mailto:'.EE_SUPPORT_EMAIL.'">'.EE_SUPPORT_EMAIL."</a>"
28 28
         ); ?></p>
29 29
     <label>
30 30
         <?php esc_html_e("system status info", "event_espresso"); ?>
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
                             'First, %1$s check the forums %2$s to see if there is a solution before re-attempting the Database Update. Often it helps to deactivate other plugins which may have conflicts; or it may help to add %3$s to your %4$s wp-config.php%5$s (which will make the update run slower, but may resolve any memory exhaustion errors.',
58 58
                             'event_espresso'
59 59
                         ),
60
-                        "<a href='" . EE_SUPPORT_EMAIL . "' target='_blank'>",
60
+                        "<a href='".EE_SUPPORT_EMAIL."' target='_blank'>",
61 61
                         '</a>',
62 62
                         '<pre lang="php">define( \'EE_MIGRATION_STEP_SIZE\', 10 );</pre>',
63 63
                         '<b>',
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
                         'Just make sure you\'ve %1$s checked for a solution in the forums,%2$s and properly contacted Support. We will get back to you as soon as possible',
93 93
                         'event_espresso'
94 94
                     ),
95
-                    "<a href='" . EE_SUPPORT_EMAIL . "'>",
95
+                    "<a href='".EE_SUPPORT_EMAIL."'>",
96 96
                     "</a>"
97 97
                 );
98 98
                 ?>
Please login to merge, or discard this patch.
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -11,27 +11,27 @@  discard block
 block discarded – undo
11 11
     <h1><?php esc_html_e("Database Update Crash Report Sent", "event_espresso"); ?></h1>
12 12
     <p>
13 13
         <?php esc_html_e(
14
-            "A crash report email was sent to Event Espresso. You should hear back from us soon.",
15
-            "event_espresso"
16
-        ); ?></p>
14
+			"A crash report email was sent to Event Espresso. You should hear back from us soon.",
15
+			"event_espresso"
16
+		); ?></p>
17 17
 <?php } else {// didn't send email properly ?>
18 18
     <h1><?php esc_html_e("Migration Report not sent", "event_espresso"); ?></h1>
19 19
     <p>
20 20
         <?php esc_html_e(
21
-            "An error occurred and we were not able to automatically send a report to Event Espresso support.",
22
-            "event_espresso"
23
-        ); ?></p>
21
+			"An error occurred and we were not able to automatically send a report to Event Espresso support.",
22
+			"event_espresso"
23
+		); ?></p>
24 24
     <p>
25 25
         <?php printf(
26
-            esc_html__("Please copy-and-paste the system information below to %s", "event_espresso"),
27
-            '<a href="mailto:' . EE_SUPPORT_EMAIL . '">' . EE_SUPPORT_EMAIL . "</a>"
28
-        ); ?></p>
26
+			esc_html__("Please copy-and-paste the system information below to %s", "event_espresso"),
27
+			'<a href="mailto:' . EE_SUPPORT_EMAIL . '">' . EE_SUPPORT_EMAIL . "</a>"
28
+		); ?></p>
29 29
     <label>
30 30
         <?php esc_html_e("system status info", "event_espresso"); ?>
31 31
         <textarea name="system_status_info" class="system_status_info">
32 32
             <?php print_r(
33
-                EEM_System_Status::instance()->get_system_stati()
34
-            ); ?></textarea>
33
+				EEM_System_Status::instance()->get_system_stati()
34
+			); ?></textarea>
35 35
     </label>
36 36
 <?php } ?>
37 37
 
@@ -52,32 +52,32 @@  discard block
 block discarded – undo
52 52
             <td>
53 53
                 <p>
54 54
                     <?php
55
-                    printf(
56
-                        esc_html__(
57
-                            'First, %1$s check the forums %2$s to see if there is a solution before re-attempting the Database Update. Often it helps to deactivate other plugins which may have conflicts; or it may help to add %3$s to your %4$s wp-config.php%5$s (which will make the update run slower, but may resolve any memory exhaustion errors.',
58
-                            'event_espresso'
59
-                        ),
60
-                        "<a href='" . EE_SUPPORT_EMAIL . "' target='_blank'>",
61
-                        '</a>',
62
-                        '<pre lang="php">define( \'EE_MIGRATION_STEP_SIZE\', 10 );</pre>',
63
-                        '<b>',
64
-                        '</b>'
65
-                    );
66
-                    ?>
55
+					printf(
56
+						esc_html__(
57
+							'First, %1$s check the forums %2$s to see if there is a solution before re-attempting the Database Update. Often it helps to deactivate other plugins which may have conflicts; or it may help to add %3$s to your %4$s wp-config.php%5$s (which will make the update run slower, but may resolve any memory exhaustion errors.',
58
+							'event_espresso'
59
+						),
60
+						"<a href='" . EE_SUPPORT_EMAIL . "' target='_blank'>",
61
+						'</a>',
62
+						'<pre lang="php">define( \'EE_MIGRATION_STEP_SIZE\', 10 );</pre>',
63
+						'<b>',
64
+						'</b>'
65
+					);
66
+					?>
67 67
                 </p>
68 68
 
69 69
                 <p>
70 70
                     <?php
71
-                    printf(
72
-                        esc_html__(
73
-                            'To retry updating your data: restore to the backup you made before the update and reactivate EE (and any addons you are using) and re-run the Database Update. If you did not make a database backup and are migrating from EE3: delete your EE4 data (use the %1$s Reset/Delete Data tab above%2$s), and then reactivate EE4, and then re-run the migration and updates. If you did not make a database backup, are only updating from a previous install of EE4, have found a solution to the fatal error you received, and are willing to possibly have some data lost, %3$sattempt to continue migrating%2$s.',
74
-                            'event_espresso'
75
-                        ),
76
-                        "<a href='$reset_db_page_url'>",
77
-                        "</a>",
78
-                        "<a class='button--primary' href='$reattempt_action_url'>"
79
-                    );
80
-                    ?>
71
+					printf(
72
+						esc_html__(
73
+							'To retry updating your data: restore to the backup you made before the update and reactivate EE (and any addons you are using) and re-run the Database Update. If you did not make a database backup and are migrating from EE3: delete your EE4 data (use the %1$s Reset/Delete Data tab above%2$s), and then reactivate EE4, and then re-run the migration and updates. If you did not make a database backup, are only updating from a previous install of EE4, have found a solution to the fatal error you received, and are willing to possibly have some data lost, %3$sattempt to continue migrating%2$s.',
74
+							'event_espresso'
75
+						),
76
+						"<a href='$reset_db_page_url'>",
77
+						"</a>",
78
+						"<a class='button--primary' href='$reattempt_action_url'>"
79
+					);
80
+					?>
81 81
                 </p>
82 82
             </td>
83 83
         </tr>
@@ -87,66 +87,66 @@  discard block
 block discarded – undo
87 87
             </td>
88 88
             <td>
89 89
                 <?php
90
-                printf(
91
-                    esc_html__(
92
-                        'Just make sure you\'ve %1$s checked for a solution in the forums,%2$s and properly contacted Support. We will get back to you as soon as possible',
93
-                        'event_espresso'
94
-                    ),
95
-                    "<a href='" . EE_SUPPORT_EMAIL . "'>",
96
-                    "</a>"
97
-                );
98
-                ?>
90
+				printf(
91
+					esc_html__(
92
+						'Just make sure you\'ve %1$s checked for a solution in the forums,%2$s and properly contacted Support. We will get back to you as soon as possible',
93
+						'event_espresso'
94
+					),
95
+					"<a href='" . EE_SUPPORT_EMAIL . "'>",
96
+					"</a>"
97
+				);
98
+				?>
99 99
             </td>
100 100
         </tr>
101 101
         <tr>
102 102
             <td>
103 103
                 <p class='big-text'>
104 104
                     <?php printf(
105
-                        esc_html__('I don\'t need my old EE %s data', 'event_espresso'),
106
-                        $most_recent_migration->slug()
107
-                    ); ?></p>
105
+						esc_html__('I don\'t need my old EE %s data', 'event_espresso'),
106
+						$most_recent_migration->slug()
107
+					); ?></p>
108 108
             </td>
109 109
             <td>
110 110
                 <?php
111
-                printf(
112
-                    esc_html__(
113
-                        'If you are ok with losing all the EE %1$s data, you can skip the Database Updates and %2$s use EE4 with only default Data%3$s',
114
-                        'event_espresso'
115
-                    ),
116
-                    $most_recent_migration->slug(),
117
-                    "<a id='do-not-migrate' class='do-not-migrate button--primary' href='$reset_db_action_url'>",
118
-                    "</a>"
119
-                );
120
-                ?>
111
+				printf(
112
+					esc_html__(
113
+						'If you are ok with losing all the EE %1$s data, you can skip the Database Updates and %2$s use EE4 with only default Data%3$s',
114
+						'event_espresso'
115
+					),
116
+					$most_recent_migration->slug(),
117
+					"<a id='do-not-migrate' class='do-not-migrate button--primary' href='$reset_db_action_url'>",
118
+					"</a>"
119
+				);
120
+				?>
121 121
             </td>
122 122
         </tr>
123 123
         <tr>
124 124
             <td>
125 125
                 <p class='big-text'>
126 126
                     <?php printf(
127
-                        esc_html__('I want to go back to my old version of EE %1$s', 'event_espresso'),
128
-                        $most_recent_migration->slug()
129
-                    ); ?>
127
+						esc_html__('I want to go back to my old version of EE %1$s', 'event_espresso'),
128
+						$most_recent_migration->slug()
129
+					); ?>
130 130
             </td>
131 131
             <td>
132 132
                 <p>
133 133
                     <?php
134
-                    printf(
135
-                        esc_html__(
136
-                            'Then we suggest you re-activate the old version of EE %3$s and restore your database to the backup you made just before the Database Update . If you didn\'t backup your database and are migrating from EE3, you can also delete your EE4 data (use on the %1$s"Reset/Delete Data" tab above%2$s), and then reactivate EE3 from the plugins page. Note: some of your EE3 shortcodes may have been changed to their EE4 equivalents, so you will need to change them back.',
137
-                            'event_espresso'
138
-                        ),
139
-                        "<a href='$reset_db_page_url'>",
140
-                        "</a>",
141
-                        $most_recent_migration->slug()
142
-                    );
143
-                    ?>
134
+					printf(
135
+						esc_html__(
136
+							'Then we suggest you re-activate the old version of EE %3$s and restore your database to the backup you made just before the Database Update . If you didn\'t backup your database and are migrating from EE3, you can also delete your EE4 data (use on the %1$s"Reset/Delete Data" tab above%2$s), and then reactivate EE3 from the plugins page. Note: some of your EE3 shortcodes may have been changed to their EE4 equivalents, so you will need to change them back.',
137
+							'event_espresso'
138
+						),
139
+						"<a href='$reset_db_page_url'>",
140
+						"</a>",
141
+						$most_recent_migration->slug()
142
+					);
143
+					?>
144 144
                 </p>
145 145
                 <p>
146 146
                     <?php esc_html_e(
147
-                        "If you ever decide to re-attempt using EE4, you will again be given the option to migrate your EE3 data or not.",
148
-                        'event_espresso'
149
-                    ); ?></p>
147
+						"If you ever decide to re-attempt using EE4, you will again be given the option to migrate your EE3 data or not.",
148
+						'event_espresso'
149
+					); ?></p>
150 150
             </td>
151 151
         </tr>
152 152
 
Please login to merge, or discard this patch.
venues/help_tabs/venues_overview_views_bulk_actions_search.help_tab.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@  discard block
 block discarded – undo
3 3
 </p>
4 4
 <p>
5 5
     <?php esc_html_e(
6
-        'Bulk actions allow you to perform an action to multiple venues at once. The following bulk actions are supported: Delete. To use the bulk action feature, place a checkmark next to the venues that you want to include. Then select a bulk action from the menu and click on the Apply button.',
7
-        'event_espresso'
8
-    ); ?>
6
+		'Bulk actions allow you to perform an action to multiple venues at once. The following bulk actions are supported: Delete. To use the bulk action feature, place a checkmark next to the venues that you want to include. Then select a bulk action from the menu and click on the Apply button.',
7
+		'event_espresso'
8
+	); ?>
9 9
     <br />
10 10
 </p>
11 11
 <p>
@@ -13,9 +13,9 @@  discard block
 block discarded – undo
13 13
 </p>
14 14
 <p>
15 15
     <?php esc_html_e(
16
-        'Views allow you to restrict what you see in the Venues Overview table. The following views are available: All. The number in parentheses next to each view represents the number of venues that will be displayed with that view.',
17
-        'event_espresso'
18
-    ); ?>
16
+		'Views allow you to restrict what you see in the Venues Overview table. The following views are available: All. The number in parentheses next to each view represents the number of venues that will be displayed with that view.',
17
+		'event_espresso'
18
+	); ?>
19 19
     <br />
20 20
 </p>
21 21
 <ul>
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 </p>
36 36
 <p>
37 37
     <?php esc_html_e(
38
-        'You can perform a search to find certain venues. The following sources will be searched: Venue Name (title), Venue Description, Venue Short Description (excerpt), Venue Address, Venue City, Venue Zip / Postal Code, Venue Phone, Venue URL, Venue Virtual Phone, Venue Google Map Link, Event Name (title), Event Description, Event Phone, and Event External URL. To use the search feature, enter a value into the search box and click on the Search Venues button.',
39
-        'event_espresso'
40
-    ); ?>
38
+		'You can perform a search to find certain venues. The following sources will be searched: Venue Name (title), Venue Description, Venue Short Description (excerpt), Venue Address, Venue City, Venue Zip / Postal Code, Venue Phone, Venue URL, Venue Virtual Phone, Venue Google Map Link, Event Name (title), Event Description, Event Phone, and Event External URL. To use the search feature, enter a value into the search box and click on the Search Venues button.',
39
+		'event_espresso'
40
+	); ?>
41 41
 </p>
42 42
\ No newline at end of file
Please login to merge, or discard this patch.
venues/help_tabs/venues_overview_table_column_headings.help_tab.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@  discard block
 block discarded – undo
11 11
         <strong><?php esc_html_e('ID', 'event_espresso'); ?></strong>
12 12
         <br />
13 13
         <?php printf(
14
-            esc_html__('This is the numerical ID for a venue. This value is used internally for %s.', 'event_espresso'),
15
-            Domain::brandName()
16
-        ); ?>
14
+			esc_html__('This is the numerical ID for a venue. This value is used internally for %s.', 'event_espresso'),
15
+			Domain::brandName()
16
+		); ?>
17 17
     </li>
18 18
     <li>
19 19
         <strong><?php esc_html_e('Name', 'event_espresso'); ?></strong>
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
         <strong><?php esc_html_e('Capacity', 'event_espresso'); ?></strong>
35 35
         <br />
36 36
         <?php printf(
37
-            esc_html__(
38
-                'This is the capacity of the venue. If no limit is set, then the capacity will be set to infinity (%s).',
39
-                'event_espresso'
40
-            ),
41
-            '&#8734'
42
-        ); ?>
37
+			esc_html__(
38
+				'This is the capacity of the venue. If no limit is set, then the capacity will be set to infinity (%s).',
39
+				'event_espresso'
40
+			),
41
+			'&#8734'
42
+		); ?>
43 43
     </li>
44 44
 </ul>
Please login to merge, or discard this patch.