Completed
Branch EE5Update (bc64e6)
by
unknown
09:36 queued 05:38
created
admin_pages/events/help_tabs/events_overview_views.help_tab.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <p><strong><?php esc_html_e('Events Overview Views', 'event_espresso'); ?></strong></p>
2 2
 <p>
3 3
     <?php esc_html_e(
4
-        'Views allow you to limit what is shown in the event overview table. The following views are available: View All Events, Draft, Trash, Today, and This Month. The number in parentheses next to each view represents the number of events that will be displayed with that view.',
5
-        'event_espresso'
6
-    ); ?>
4
+		'Views allow you to limit what is shown in the event overview table. The following views are available: View All Events, Draft, Trash, Today, and This Month. The number in parentheses next to each view represents the number of events that will be displayed with that view.',
5
+		'event_espresso'
6
+	); ?>
7 7
     <br />
8 8
 </p>
9 9
 <ul>
Please login to merge, or discard this patch.
events/help_tabs/event_editor_event_registration_options.help_tab.php 1 patch
Indentation   +55 added lines, -55 removed lines patch added patch discarded remove patch
@@ -7,35 +7,35 @@  discard block
 block discarded – undo
7 7
         <h5><?php esc_html_e('Active Status', 'event_espresso'); ?></h5>
8 8
         <p>
9 9
         <?php esc_html_e(
10
-            'Shows the current status for an event. The status indicator will show Expired (past), Active (present), Upcoming (future) based on the date of the event. There are also special, custom statuses that can be selected. These include Postponed, Sold Out, and Cancelled.',
11
-            'event_espresso'
12
-        ); ?>
10
+			'Shows the current status for an event. The status indicator will show Expired (past), Active (present), Upcoming (future) based on the date of the event. There are also special, custom statuses that can be selected. These include Postponed, Sold Out, and Cancelled.',
11
+			'event_espresso'
12
+		); ?>
13 13
         </p>
14 14
     </li>
15 15
     <li>
16 16
         <h5>
17 17
             <?php esc_html_e(
18
-                'Maximum number of tickets allowed per order for this event',
19
-                'event_espresso'
20
-            ); ?>
18
+				'Maximum number of tickets allowed per order for this event',
19
+				'event_espresso'
20
+			); ?>
21 21
         </h5>
22 22
         <p>
23 23
         <?php esc_html_e('Control how many tickets can be purchased in a single order.', 'event_espresso'); ?>
24 24
         </p>
25 25
         <div class="ee-attention">
26 26
             <?php esc_html_e(
27
-                'Notice: Allowing too many registrations to be processed with a single order can cause transactions to fail. The decision of how many tickets you allow to be purchased per order should be influenced by your web hosting, how much traffic you get to your website, and the complexity of your registration forms. A more powerful web server will reduce the likelihood of transactions failing.',
28
-                'event_espresso'
29
-            ); ?>
27
+				'Notice: Allowing too many registrations to be processed with a single order can cause transactions to fail. The decision of how many tickets you allow to be purchased per order should be influenced by your web hosting, how much traffic you get to your website, and the complexity of your registration forms. A more powerful web server will reduce the likelihood of transactions failing.',
28
+				'event_espresso'
29
+			); ?>
30 30
         </div>
31 31
     </li>
32 32
     <li>
33 33
         <h5><?php esc_html_e('Alternative Registration Page', 'event_espresso'); ?></h5>
34 34
         <p>
35 35
         <?php esc_html_e(
36
-            'Enter another registration URL (website address). This field is optional.',
37
-            'event_espresso'
38
-        ); ?>
36
+			'Enter another registration URL (website address). This field is optional.',
37
+			'event_espresso'
38
+		); ?>
39 39
         </p>
40 40
     </li>
41 41
     <li>
@@ -49,66 +49,66 @@  discard block
 block discarded – undo
49 49
         <p>
50 50
             <strong>
51 51
                 <?php echo esc_html(
52
-                    EEH_Template::pretty_status(
53
-                        EEM_Registration::status_id_approved,
54
-                        false,
55
-                        'sentence'
56
-                    )
57
-                ); ?>
52
+					EEH_Template::pretty_status(
53
+						EEM_Registration::status_id_approved,
54
+						false,
55
+						'sentence'
56
+					)
57
+				); ?>
58 58
             </strong>
59 59
             <br />
60 60
             <?php printf(
61
-                /* translators: Approved Registration status */
62
-                esc_html__(
63
-                    'A status of %s means that a registration has been accepted as complete. The registration will count towards the registration limit, remaining tickets, and calculations for available seats. Payments (if necessary) can also be made by primary registrants with this status.',
64
-                    'event_espresso'
65
-                ),
66
-                EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence')
67
-            ); ?>
61
+				/* translators: Approved Registration status */
62
+				esc_html__(
63
+					'A status of %s means that a registration has been accepted as complete. The registration will count towards the registration limit, remaining tickets, and calculations for available seats. Payments (if necessary) can also be made by primary registrants with this status.',
64
+					'event_espresso'
65
+				),
66
+				EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence')
67
+			); ?>
68 68
         </p>
69 69
         <p>
70 70
             <strong>
71 71
                 <?php echo esc_html(
72
-                    EEH_Template::pretty_status(
73
-                        EEM_Registration::status_id_pending_payment,
74
-                        false,
75
-                        'sentence'
76
-                    )
77
-                ); ?>
72
+					EEH_Template::pretty_status(
73
+						EEM_Registration::status_id_pending_payment,
74
+						false,
75
+						'sentence'
76
+					)
77
+				); ?>
78 78
             </strong>
79 79
             <br />
80 80
             <?php printf(
81
-                /* translators: 1: Pending Payment, 2: Pending Payment, 3: Approved */
82
-                esc_html__(
83
-                    'A status of %1$s means that a registration has not paid but they ARE able to make payments (if necessary).  %2$s registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats.  If registration for a free event occurs, then registrations are automatically set to %3$s. For paid tickets, %1$s registrations are set to %3$s when full payment is recorded.',
84
-                    'event_espresso'
85
-                ),
86
-                EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'),
87
-                EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'),
88
-                EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence')
89
-            ); ?>
81
+				/* translators: 1: Pending Payment, 2: Pending Payment, 3: Approved */
82
+				esc_html__(
83
+					'A status of %1$s means that a registration has not paid but they ARE able to make payments (if necessary).  %2$s registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats.  If registration for a free event occurs, then registrations are automatically set to %3$s. For paid tickets, %1$s registrations are set to %3$s when full payment is recorded.',
84
+					'event_espresso'
85
+				),
86
+				EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'),
87
+				EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment, false, 'sentence'),
88
+				EEH_Template::pretty_status(EEM_Registration::status_id_approved, false, 'sentence')
89
+			); ?>
90 90
         </p>
91 91
         <p>
92 92
             <strong>
93 93
                 <?php echo esc_html(
94
-                    EEH_Template::pretty_status(
95
-                        EEM_Registration::status_id_not_approved,
96
-                        false,
97
-                        'sentence'
98
-                    )
99
-                ); ?>
94
+					EEH_Template::pretty_status(
95
+						EEM_Registration::status_id_not_approved,
96
+						false,
97
+						'sentence'
98
+					)
99
+				); ?>
100 100
             </strong>
101 101
             <br />
102 102
             <?php printf(
103
-            /* translators: 1: Not Approved, 2: Pending Payment, 3: Approved */
104
-                esc_html__(
105
-                    'A status of %1$s means that a registration has not paid and they cannot make payments for towards an event.  Un-approved registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats.  This setting differs from the "%2$s" default in that free ticket registrations and paid in full ticket registrations do NOT automatically switch the Registration to %3$s.  Instead, the event admin must manually set the registration to either "%2$s" for registrations requiring payments, or "%3$s" for free events.',
106
-                    'event_espresso'
107
-                ),
108
-                EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, false, 'sentence'),
109
-                EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment),
110
-                EEH_Template::pretty_status(EEM_Registration::status_id_approved)
111
-            ); ?>
103
+			/* translators: 1: Not Approved, 2: Pending Payment, 3: Approved */
104
+				esc_html__(
105
+					'A status of %1$s means that a registration has not paid and they cannot make payments for towards an event.  Un-approved registrations do NOT count towards registration limits, remaining tickets, and calculations for available seats.  This setting differs from the "%2$s" default in that free ticket registrations and paid in full ticket registrations do NOT automatically switch the Registration to %3$s.  Instead, the event admin must manually set the registration to either "%2$s" for registrations requiring payments, or "%3$s" for free events.',
106
+					'event_espresso'
107
+				),
108
+				EEH_Template::pretty_status(EEM_Registration::status_id_not_approved, false, 'sentence'),
109
+				EEH_Template::pretty_status(EEM_Registration::status_id_pending_payment),
110
+				EEH_Template::pretty_status(EEM_Registration::status_id_approved)
111
+			); ?>
112 112
         </p>
113 113
     </li>
114 114
 </ul>
Please login to merge, or discard this patch.
templates/txn_admin_details_side_meta_box_billing_info.template.php 2 patches
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,8 +39,10 @@
 block discarded – undo
39 39
         <div class="clearfix">
40 40
             <?php esc_html_e('There is no billing info for this transaction.', 'event_espresso'); ?><br/>
41 41
         </div>
42
-    <?php else :
42
+    <?php else {
43
+	:
43 44
         $found_cc_data = ee_show_billing_info_cleaned($billing_form);
45
+}
44 46
         if (
45 47
             apply_filters(
46 48
                 'FHEE__txn_admin_details_side_meta_box_billing_info__show_default_note',
Please login to merge, or discard this patch.
Indentation   +32 added lines, -32 removed lines patch added patch discarded remove patch
@@ -10,30 +10,30 @@  discard block
 block discarded – undo
10 10
  */
11 11
 function ee_show_billing_info_cleaned(EE_Form_Section_Proper $form_section, $found_cc_data = false)
12 12
 {
13
-    foreach ($form_section->subsections() as $subsection) {
14
-        if ($subsection instanceof EE_Form_Input_Base) {
15
-            if (
16
-                $subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal
17
-                || $subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal
18
-                || $subsection->get_display_strategy() instanceof EE_Hidden_Display_Strategy
19
-            ) {
20
-                continue;
21
-            }
22
-            if ($subsection->get_sensitive_data_removal_strategy() instanceof EE_Credit_Card_Sensitive_Data_Removal) {
23
-                $found_cc_data = true;
24
-            }
25
-            ?>
13
+	foreach ($form_section->subsections() as $subsection) {
14
+		if ($subsection instanceof EE_Form_Input_Base) {
15
+			if (
16
+				$subsection->get_sensitive_data_removal_strategy() instanceof EE_All_Sensitive_Data_Removal
17
+				|| $subsection->get_sensitive_data_removal_strategy() instanceof EE_CCV_Sensitive_Data_Removal
18
+				|| $subsection->get_display_strategy() instanceof EE_Hidden_Display_Strategy
19
+			) {
20
+				continue;
21
+			}
22
+			if ($subsection->get_sensitive_data_removal_strategy() instanceof EE_Credit_Card_Sensitive_Data_Removal) {
23
+				$found_cc_data = true;
24
+			}
25
+			?>
26 26
             <div class="clearfix">
27 27
             <span class="admin-side-mbox-label-spn lt-grey-txt float-left">
28 28
                 <?php echo wp_kses($subsection->get_html_for_label(), AllowedTags::getWithFormTags()); ?>
29 29
             </span>
30 30
             <?php echo wp_kses($subsection->pretty_value(), AllowedTags::getWithFormTags()); ?>
31 31
             </div><?php
32
-        } elseif ($subsection instanceof EE_Form_Section_Proper) {
33
-            $found_cc_data = ee_show_billing_info_cleaned($subsection, $found_cc_data);
34
-        }
35
-    }
36
-    return $found_cc_data;
32
+		} elseif ($subsection instanceof EE_Form_Section_Proper) {
33
+			$found_cc_data = ee_show_billing_info_cleaned($subsection, $found_cc_data);
34
+		}
35
+	}
36
+	return $found_cc_data;
37 37
 }
38 38
 ?>
39 39
 
@@ -43,24 +43,24 @@  discard block
 block discarded – undo
43 43
             <?php esc_html_e('There is no billing info for this transaction.', 'event_espresso'); ?><br/>
44 44
         </div>
45 45
     <?php else :
46
-        $found_cc_data = ee_show_billing_info_cleaned($billing_form);
47
-        if (
48
-            apply_filters(
49
-                'FHEE__txn_admin_details_side_meta_box_billing_info__show_default_note',
50
-                $found_cc_data,
51
-                $billing_form
52
-            )
53
-        ) { ?>
46
+		$found_cc_data = ee_show_billing_info_cleaned($billing_form);
47
+		if (
48
+			apply_filters(
49
+				'FHEE__txn_admin_details_side_meta_box_billing_info__show_default_note',
50
+				$found_cc_data,
51
+				$billing_form
52
+			)
53
+		) { ?>
54 54
             <p class="help">
55 55
                 <?php esc_html_e(
56
-                    'Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.',
57
-                    'event_espresso'
58
-                ); ?>
56
+					'Note: Card expiry dates and CCV are not stored. Only the last 4 digits of card numbers are stored.',
57
+					'event_espresso'
58
+				); ?>
59 59
             </p>
60 60
             <?php
61
-        }
62
-        do_action('AHEE__txn_admin_details_side_meta_box_billing_info__billing_form_footer', $billing_form);
63
-    endif; ?>
61
+		}
62
+		do_action('AHEE__txn_admin_details_side_meta_box_billing_info__billing_form_footer', $billing_form);
63
+	endif; ?>
64 64
 
65 65
 </div>
66 66
 
Please login to merge, or discard this patch.
admin_pages/transactions/templates/txn_admin_wrapper.template.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@
 block discarded – undo
22 22
 
23 23
     <h2>
24 24
         <?php
25
-        esc_attr_e('Event Espresso', 'event_espresso');
26
-        echo esc_html("&nbsp;-&nbsp;$admin_page_title");
27
-        ?>
25
+		esc_attr_e('Event Espresso', 'event_espresso');
26
+		echo esc_html("&nbsp;-&nbsp;$admin_page_title");
27
+		?>
28 28
     </h2>
29 29
 
30 30
     <h2 class="nav-tab-wrapper">
Please login to merge, or discard this patch.
admin_pages/transactions/help_tabs/transactions_reports.help_tab.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -3,13 +3,13 @@
 block discarded – undo
3 3
 </p>
4 4
 <p>
5 5
     <?php esc_html_e(
6
-        'This page shows unfiltered reports for all transactions that have been created with Event Espresso.',
7
-        'event_espresso'
8
-    ); ?>
6
+		'This page shows unfiltered reports for all transactions that have been created with Event Espresso.',
7
+		'event_espresso'
8
+	); ?>
9 9
 </p>
10 10
 <p>
11 11
     <?php esc_html_e(
12
-        'The first graph shows total revenue per day. The second graph shows total revenue per event.',
13
-        'event_espresso'
14
-    ); ?>
12
+		'The first graph shows total revenue per day. The second graph shows total revenue per event.',
13
+		'event_espresso'
14
+	); ?>
15 15
 </p>
16 16
\ No newline at end of file
Please login to merge, or discard this patch.
help_tabs/transactions_view_transaction_attendees_registered.help_tab.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -6,17 +6,17 @@
 block discarded – undo
6 6
         <strong><?php esc_html_e('#', 'event_espresso'); ?></strong>
7 7
         <br />
8 8
         <?php esc_html_e(
9
-            'Shows the registrant number in the group. For example, 1 of 1 means that there was a single registrant. 1 of 2 means that this registrant is the first to register of the the two registrants in the group.',
10
-            'event_espresso'
11
-        ); ?>
9
+			'Shows the registrant number in the group. For example, 1 of 1 means that there was a single registrant. 1 of 2 means that this registrant is the first to register of the the two registrants in the group.',
10
+			'event_espresso'
11
+		); ?>
12 12
     </li>
13 13
     <li>
14 14
         <strong><?php esc_html_e('Event Name and Ticket', 'event_espresso'); ?></strong>
15 15
         <br />
16 16
         <?php esc_html_e(
17
-            'Shows the name (title) of the event and the name of the ticket associated with this event.',
18
-            'event_espresso'
19
-        ); ?>
17
+			'Shows the name (title) of the event and the name of the ticket associated with this event.',
18
+			'event_espresso'
19
+		); ?>
20 20
     </li>
21 21
     <li>
22 22
         <strong><?php esc_html_e('Registrant', 'event_espresso'); ?></strong>
Please login to merge, or discard this patch.
...ons_view_transaction_primary_registrant_billing_information.help_tab.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,9 +28,9 @@
 block discarded – undo
28 28
 </ul>
29 29
 <p>
30 30
     <?php esc_html_e(
31
-        'You can edit information about an Registrant by clicking on the View/Edit this Contact link.',
32
-        'event_espresso'
33
-    ); ?>
31
+		'You can edit information about an Registrant by clicking on the View/Edit this Contact link.',
32
+		'event_espresso'
33
+	); ?>
34 34
     <br />
35 35
 </p>
36 36
 <p>
Please login to merge, or discard this patch.
transactions_view_transaction_transaction_details_table.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
-        'This area of the table shows information about any events that were included in this transactions.',
7
-        'event_espresso'
8
-    ); ?>
6
+		'This area of the table shows information about any events that were included in this transactions.',
7
+		'event_espresso'
8
+	); ?>
9 9
 </p>
10 10
 <ul>
11 11
     <li>
@@ -42,17 +42,17 @@  discard block
 block discarded – undo
42 42
         <strong><?php esc_html_e('Line Total', 'event_espresso'); ?></strong>
43 43
         <br />
44 44
         <?php esc_html_e(
45
-            'Shows the total based on the quantity of tickets multiplied by the price of each ticket.',
46
-            'event_espresso'
47
-        ); ?>
45
+			'Shows the total based on the quantity of tickets multiplied by the price of each ticket.',
46
+			'event_espresso'
47
+		); ?>
48 48
     </li>
49 49
     <li>
50 50
         <strong><?php esc_html_e('Taxes', 'event_espresso'); ?></strong>
51 51
         <br />
52 52
         <?php esc_html_e(
53
-            'Shows any taxes that have been applied. May be listed as a sales tax or a federal tax.',
54
-            'event_espresso'
55
-        ); ?>
53
+			'Shows any taxes that have been applied. May be listed as a sales tax or a federal tax.',
54
+			'event_espresso'
55
+		); ?>
56 56
     </li>
57 57
     <li>
58 58
         <strong><?php esc_html_e('Transaction Total', 'event_espresso'); ?></strong>
Please login to merge, or discard this patch.
support/templates/support_admin_details_important_information.template.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@  discard block
 block discarded – undo
6 6
     $mysql_req_version = '5.0';
7 7
     $php_is_valid      = version_compare(phpversion(), $php_req_version, '>');
8 8
     $mysql_is_valid    = version_compare($wpdb->db_version(), $mysql_req_version, '>');
9
-    $wp_is_valid    = version_compare($wp_version, $wp_req_version, '>=');
9
+    $wp_is_valid = version_compare($wp_version, $wp_req_version, '>=');
10 10
 
11
-    if (! $wp_is_valid) {
11
+    if ( ! $wp_is_valid) {
12 12
         echo esc_html(
13 13
             '<p class="red_alert">'
14 14
              . __(
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
              . '</p>'
24 24
         );
25 25
     }
26
-    if (! $php_is_valid) {
26
+    if ( ! $php_is_valid) {
27 27
         echo esc_html(
28 28
             '<p class="red_alert">'
29 29
              . __(
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
              . '</p>'
35 35
         );
36 36
     }
37
-    if (! $mysql_is_valid) {
37
+    if ( ! $mysql_is_valid) {
38 38
         echo esc_html(
39 39
             '<p class="red_alert">'
40 40
              . __(
Please login to merge, or discard this patch.
Indentation   +52 added lines, -52 removed lines patch added patch discarded remove patch
@@ -1,60 +1,60 @@
 block discarded – undo
1 1
 <div class="padding">
2 2
     <?php
3
-    global $wpdb, $wp_version;
4
-    $wp_req_version    = '3.1';
5
-    $php_req_version   = '5.2';
6
-    $mysql_req_version = '5.0';
7
-    $php_is_valid      = version_compare(phpversion(), $php_req_version, '>');
8
-    $mysql_is_valid    = version_compare($wpdb->db_version(), $mysql_req_version, '>');
9
-    $wp_is_valid    = version_compare($wp_version, $wp_req_version, '>=');
3
+	global $wpdb, $wp_version;
4
+	$wp_req_version    = '3.1';
5
+	$php_req_version   = '5.2';
6
+	$mysql_req_version = '5.0';
7
+	$php_is_valid      = version_compare(phpversion(), $php_req_version, '>');
8
+	$mysql_is_valid    = version_compare($wpdb->db_version(), $mysql_req_version, '>');
9
+	$wp_is_valid    = version_compare($wp_version, $wp_req_version, '>=');
10 10
 
11
-    if (! $wp_is_valid) {
12
-        echo esc_html(
13
-            '<p class="red_alert">'
14
-             . __(
15
-                 'This version of Event Espresso requires WordPress version',
16
-                 'event_espresso'
17
-             )
18
-             . " $wp_req_version+. "
19
-             . __(
20
-                 'Please upgrade to the latest version of WordPress.',
21
-                 'event_espresso'
22
-             )
23
-             . '</p>'
24
-        );
25
-    }
26
-    if (! $php_is_valid) {
27
-        echo esc_html(
28
-            '<p class="red_alert">'
29
-             . __(
30
-                 'Your version of PHP is out of date, please update to the latest version of PHP. <br>Required version of PHP:',
31
-                 'event_espresso'
32
-             )
33
-             . " $php_req_version"
34
-             . '</p>'
35
-        );
36
-    }
37
-    if (! $mysql_is_valid) {
38
-        echo esc_html(
39
-            '<p class="red_alert">'
40
-             . __(
41
-                 'Your version of MySQL is out of date, please update to the latest version of MySQL. <br>Required version of MySQL:',
42
-                 'event_espresso'
43
-             )
44
-             . " $mysql_req_version"
45
-             . '</p>'
46
-        );
47
-    }
11
+	if (! $wp_is_valid) {
12
+		echo esc_html(
13
+			'<p class="red_alert">'
14
+			 . __(
15
+				 'This version of Event Espresso requires WordPress version',
16
+				 'event_espresso'
17
+			 )
18
+			 . " $wp_req_version+. "
19
+			 . __(
20
+				 'Please upgrade to the latest version of WordPress.',
21
+				 'event_espresso'
22
+			 )
23
+			 . '</p>'
24
+		);
25
+	}
26
+	if (! $php_is_valid) {
27
+		echo esc_html(
28
+			'<p class="red_alert">'
29
+			 . __(
30
+				 'Your version of PHP is out of date, please update to the latest version of PHP. <br>Required version of PHP:',
31
+				 'event_espresso'
32
+			 )
33
+			 . " $php_req_version"
34
+			 . '</p>'
35
+		);
36
+	}
37
+	if (! $mysql_is_valid) {
38
+		echo esc_html(
39
+			'<p class="red_alert">'
40
+			 . __(
41
+				 'Your version of MySQL is out of date, please update to the latest version of MySQL. <br>Required version of MySQL:',
42
+				 'event_espresso'
43
+			 )
44
+			 . " $mysql_req_version"
45
+			 . '</p>'
46
+		);
47
+	}
48 48
 
49
-    $system_status_link = EE_Admin_Page::add_query_args_and_nonce(
50
-        [
51
-            'page'   => 'espresso_maintenance_settings',
52
-            'action' => 'system_status',
53
-        ],
54
-        admin_url('admin.php')
55
-    );
49
+	$system_status_link = EE_Admin_Page::add_query_args_and_nonce(
50
+		[
51
+			'page'   => 'espresso_maintenance_settings',
52
+			'action' => 'system_status',
53
+		],
54
+		admin_url('admin.php')
55
+	);
56 56
 
57
-    ?>
57
+	?>
58 58
     <a href="<?php echo esc_url_raw($system_status_link); ?>" class="button--secondary right">
59 59
         <?php esc_html_e('System Information', 'event_espresso'); ?>
60 60
     </a>
Please login to merge, or discard this patch.