Completed
Branch BUG/fix-migration-escapation (114b5b)
by
unknown
03:03 queued 37s
created
admin_pages/maintenance/templates/migration_options_from_ee3.template.php 1 patch
Indentation   +102 added lines, -102 removed lines patch added patch discarded remove patch
@@ -36,25 +36,25 @@  discard block
 block discarded – undo
36 36
                     <td><h3><?php esc_html_e('1', 'event_espresso'); ?></h3></td>
37 37
                     <td>
38 38
                         <?php echo apply_filters(
39
-                            'FHEE__ee_migration_page__option_1_main',
40
-                            sprintf(
41
-                                __(
42
-                                    '%1$sYes. I have backed up my database%2$s, %3$sunderstand the risks involved%4$s, and am ready to migrate my existing %5$s data to %6$s.',
43
-                                    "event_espresso"
44
-                                ),
45
-                                '<strong>',
46
-                                '</strong>',
47
-                                '<a id="migration-risks" class="" title="'
48
-                                . esc_attr__('click for more details', "event_espresso")
49
-                                . '">',
50
-                                '</a>',
51
-                                $current_db_state,
52
-                                $next_db_state
53
-                            ),
54
-                            $current_db_state,
55
-                            $next_db_state
56
-                        );
57
-                            ?>
39
+							'FHEE__ee_migration_page__option_1_main',
40
+							sprintf(
41
+								__(
42
+									'%1$sYes. I have backed up my database%2$s, %3$sunderstand the risks involved%4$s, and am ready to migrate my existing %5$s data to %6$s.',
43
+									"event_espresso"
44
+								),
45
+								'<strong>',
46
+								'</strong>',
47
+								'<a id="migration-risks" class="" title="'
48
+								. esc_attr__('click for more details', "event_espresso")
49
+								. '">',
50
+								'</a>',
51
+								$current_db_state,
52
+								$next_db_state
53
+							),
54
+							$current_db_state,
55
+							$next_db_state
56
+						);
57
+							?>
58 58
                         <a id="display-migration-details"
59 59
                            class="display-the-hidden lt-grey-text smaller-text hide-if-no-js"
60 60
                            rel="migration-details"
@@ -67,9 +67,9 @@  discard block
 block discarded – undo
67 67
                            style="display:none;"
68 68
                         >
69 69
                             <?php printf(
70
-                                esc_html__('hide%1$sdetails%1$s-', 'event_espresso'),
71
-                                '&nbsp;'
72
-                            ); ?>
70
+								esc_html__('hide%1$sdetails%1$s-', 'event_espresso'),
71
+								'&nbsp;'
72
+							); ?>
73 73
                         </a>
74 74
                     </td>
75 75
                     <td>
@@ -77,17 +77,17 @@  discard block
 block discarded – undo
77 77
                            class="toggle-migration-monitor button-primary"
78 78
                         >
79 79
                             <?php echo esc_html(
80
-                                apply_filters(
81
-                                    'FHEE__ee_migration_page__option_1_button_text',
82
-                                    sprintf(
83
-                                        __("Migrate My %s Data to %s", "event_espresso"),
84
-                                        $current_db_state,
85
-                                        $next_db_state
86
-                                    ),
87
-                                    $current_db_state,
88
-                                    $next_db_state
89
-                                )
90
-                            ); ?>
80
+								apply_filters(
81
+									'FHEE__ee_migration_page__option_1_button_text',
82
+									sprintf(
83
+										__("Migrate My %s Data to %s", "event_espresso"),
84
+										$current_db_state,
85
+										$next_db_state
86
+									),
87
+									$current_db_state,
88
+									$next_db_state
89
+								)
90
+							); ?>
91 91
                         </a>
92 92
                     </td>
93 93
                 </tr>
@@ -96,34 +96,34 @@  discard block
 block discarded – undo
96 96
                         <div id="migration-details-dv" style="display: none; padding: 1em;">
97 97
                             <span class="reminder-spn">
98 98
                             <?php printf(
99
-                                esc_html__(
100
-                                    "%s Important: %s Before migrating, please back up your database and files.",
101
-                                    "event_espresso"
102
-                                ),
103
-                                "<b>",
104
-                                "</b>"
105
-                            );
99
+								esc_html__(
100
+									"%s Important: %s Before migrating, please back up your database and files.",
101
+									"event_espresso"
102
+								),
103
+								"<b>",
104
+								"</b>"
105
+							);
106 106
 ?>
107 107
                             </span>
108 108
                             <p>
109 109
                                 <?php printf(
110
-                                    esc_html__(
111
-                                        '%1$sNot sure how to backup your existing data?%2$s Here is %3$sWordPress\'s explanation%7$s, and here\'s %6$sour explanation%7$s.%8$sYou can also search the WordPress plugin database for %4$s database backup plugins %7$s,%8$sor have one of our dedicated support technicians help you by purchasing a %5$sPriority Support Token%7$s.',
112
-                                        "event_espresso"
113
-                                    ),
114
-                                    '<b>',
115
-                                    '</b>',
116
-                                    "<a href='https://codex.wordpress.org/Backing_Up_Your_Database'>",
117
-                                    "<a href='"
118
-                                    . admin_url(
119
-                                        'plugin-install.php?tab=search&type=term&s=database+backup&plugin-search-input=Search+Plugins'
120
-                                    )
121
-                                    . "'>",
122
-                                    "<a href='https://eventespresso.com/product/priority-support-tokens/'>",
123
-                                    '<a href="https://eventespresso.com/wiki/how-to-back-up-your-site/">',
124
-                                    "</a>",
125
-                                    '<br/>'
126
-                                );
110
+									esc_html__(
111
+										'%1$sNot sure how to backup your existing data?%2$s Here is %3$sWordPress\'s explanation%7$s, and here\'s %6$sour explanation%7$s.%8$sYou can also search the WordPress plugin database for %4$s database backup plugins %7$s,%8$sor have one of our dedicated support technicians help you by purchasing a %5$sPriority Support Token%7$s.',
112
+										"event_espresso"
113
+									),
114
+									'<b>',
115
+									'</b>',
116
+									"<a href='https://codex.wordpress.org/Backing_Up_Your_Database'>",
117
+									"<a href='"
118
+									. admin_url(
119
+										'plugin-install.php?tab=search&type=term&s=database+backup&plugin-search-input=Search+Plugins'
120
+									)
121
+									. "'>",
122
+									"<a href='https://eventespresso.com/product/priority-support-tokens/'>",
123
+									'<a href="https://eventespresso.com/wiki/how-to-back-up-your-site/">',
124
+									"</a>",
125
+									'<br/>'
126
+								);
127 127
 ?>
128 128
                             </p>
129 129
                             <?php do_action('AHEE__ee_migration_page__option_1_extra_details'); ?>
@@ -136,29 +136,29 @@  discard block
 block discarded – undo
136 136
                     </td>
137 137
                     <td>
138 138
                         <?php echo esc_html(
139
-                            apply_filters(
140
-                                'FHEE__ee_migration_page__option_2_main',
141
-                                sprintf(
142
-                                    __(
143
-                                        'I do NOT want to migrate my %1$s data to %2$s at this time and just want to use %3$s without migrating data.',
144
-                                        "event_espresso"
145
-                                    ),
146
-                                    $current_db_state,
147
-                                    $next_db_state,
148
-                                    $ultimate_db_state
149
-                                ),
150
-                                $current_db_state,
151
-                                $next_db_state,
152
-                                $ultimate_db_state
153
-                            )
154
-                        );
155
-                            ?>
139
+							apply_filters(
140
+								'FHEE__ee_migration_page__option_2_main',
141
+								sprintf(
142
+									__(
143
+										'I do NOT want to migrate my %1$s data to %2$s at this time and just want to use %3$s without migrating data.',
144
+										"event_espresso"
145
+									),
146
+									$current_db_state,
147
+									$next_db_state,
148
+									$ultimate_db_state
149
+								),
150
+								$current_db_state,
151
+								$next_db_state,
152
+								$ultimate_db_state
153
+							)
154
+						);
155
+							?>
156 156
                         <br />
157 157
                         <span class="reminder-spn">
158 158
                             <?php esc_html_e(
159
-                                'Please Note: In order to avoid errors, any existing Event Espresso data (events, ticket, registrations, etc) in your db will be erased! Regular WP data will NOT be affected.',
160
-                                'event_espresso'
161
-                            ); ?>
159
+								'Please Note: In order to avoid errors, any existing Event Espresso data (events, ticket, registrations, etc) in your db will be erased! Regular WP data will NOT be affected.',
160
+								'event_espresso'
161
+							); ?>
162 162
                         </span>
163 163
                         <a id="display-no-migration-details"
164 164
                            class="display-the-hidden lt-grey-text smaller-text hide-if-no-js"
@@ -172,9 +172,9 @@  discard block
 block discarded – undo
172 172
                            style="display:none;"
173 173
                         >
174 174
                             <?php printf(
175
-                                esc_html__('hide%1$sdetails%1$s-', 'event_espresso'),
176
-                                '&nbsp;'
177
-                            );
175
+								esc_html__('hide%1$sdetails%1$s-', 'event_espresso'),
176
+								'&nbsp;'
177
+							);
178 178
 ?>
179 179
                         </a>
180 180
                     </td>
@@ -184,16 +184,16 @@  discard block
 block discarded – undo
184 184
                            href="<?php echo esc_url_raw($reset_db_page_link); ?>"
185 185
                         >
186 186
                             <?php echo esc_html(
187
-                                apply_filters(
188
-                                    'FHEE__ee_migration_page__option_2_button_text',
189
-                                    sprintf(
190
-                                        __("Just Start %s and Delete Existing Data", "event_espresso"),
191
-                                        $ultimate_db_state
192
-                                    ),
193
-                                    $ultimate_db_state
194
-                                )
195
-                            );
196
-                                    ?>
187
+								apply_filters(
188
+									'FHEE__ee_migration_page__option_2_button_text',
189
+									sprintf(
190
+										__("Just Start %s and Delete Existing Data", "event_espresso"),
191
+										$ultimate_db_state
192
+									),
193
+									$ultimate_db_state
194
+								)
195
+							);
196
+									?>
197 197
                         </a>
198 198
                     </td>
199 199
                 </tr>
@@ -202,18 +202,18 @@  discard block
 block discarded – undo
202 202
                         <div id="no-migration-details-dv" style="display: none; padding: 1em;">
203 203
                             <p>
204 204
                                 <?php echo esc_html(
205
-                                    apply_filters(
206
-                                        'FHEE__ee_migration_page__option_2_details',
207
-                                        sprintf(
208
-                                            __(
209
-                                                "If your existing Event and Registration Data is no longer relevant nor required, you can just start up %s without performing a data migration.",
210
-                                                "event_espresso"
211
-                                            ),
212
-                                            $ultimate_db_state
213
-                                        ),
214
-                                        $ultimate_db_state
215
-                                    )
216
-                                ); ?>
205
+									apply_filters(
206
+										'FHEE__ee_migration_page__option_2_details',
207
+										sprintf(
208
+											__(
209
+												"If your existing Event and Registration Data is no longer relevant nor required, you can just start up %s without performing a data migration.",
210
+												"event_espresso"
211
+											),
212
+											$ultimate_db_state
213
+										),
214
+										$ultimate_db_state
215
+									)
216
+								); ?>
217 217
                             </p>
218 218
                         </div>
219 219
                     </td>
Please login to merge, or discard this patch.
admin_pages/maintenance/templates/ee_migration_page.template.php 1 patch
Indentation   +118 added lines, -118 removed lines patch added patch discarded remove patch
@@ -33,55 +33,55 @@  discard block
 block discarded – undo
33 33
             <h3 class="espresso-header">
34 34
                 <span class="dashicons dashicons-flag ee-icon-size-22"></span>
35 35
                 <?php
36
-                echo esc_html(
37
-                    apply_filters(
38
-                        'FHEE__ee_migration_page__header',
39
-                        sprintf(
40
-                            __("Your Event Espresso data needs to be updated.", "event_espresso"),
41
-                            $current_db_state,
42
-                            $next_db_state
43
-                        ),
44
-                        $current_db_state,
45
-                        $next_db_state
46
-                    )
47
-                );
48
-                ?>
36
+				echo esc_html(
37
+					apply_filters(
38
+						'FHEE__ee_migration_page__header',
39
+						sprintf(
40
+							__("Your Event Espresso data needs to be updated.", "event_espresso"),
41
+							$current_db_state,
42
+							$next_db_state
43
+						),
44
+						$current_db_state,
45
+						$next_db_state
46
+					)
47
+				);
48
+				?>
49 49
             </h3>
50 50
         <?php } elseif ($show_most_recent_migration) { ?>
51 51
             <h3 class="espresso-header">
52 52
                 <span class="dashicons dashicons-awards ee-icon-size-22"></span>
53 53
                 <?php echo esc_html(
54
-                    apply_filters(
55
-                        'FHEE__ee_migration_page__done_migration_header',
56
-                        sprintf(
57
-                            __(
58
-                                'Congratulations! Your database is "up-to-date" and you are ready to begin using %s',
59
-                                "event_espresso"
60
-                            ),
61
-                            $ultimate_db_state
62
-                        )
63
-                    )
64
-                ); ?>
54
+					apply_filters(
55
+						'FHEE__ee_migration_page__done_migration_header',
56
+						sprintf(
57
+							__(
58
+								'Congratulations! Your database is "up-to-date" and you are ready to begin using %s',
59
+								"event_espresso"
60
+							),
61
+							$ultimate_db_state
62
+						)
63
+					)
64
+				); ?>
65 65
             </h3>
66 66
             <p>
67 67
                 <?php echo esc_html(
68
-                    apply_filters(
69
-                        'FHEE__ee_migration_page__p_after_done_migration_header',
70
-                        sprintf(
71
-                            __(
72
-                                "Time to find out about all the great new features %s has to offer.",
73
-                                "event_espresso"
74
-                            ),
75
-                            $ultimate_db_state
76
-                        )
77
-                    )
78
-                ); ?> &nbsp;
68
+					apply_filters(
69
+						'FHEE__ee_migration_page__p_after_done_migration_header',
70
+						sprintf(
71
+							__(
72
+								"Time to find out about all the great new features %s has to offer.",
73
+								"event_espresso"
74
+							),
75
+							$ultimate_db_state
76
+						)
77
+					)
78
+				); ?> &nbsp;
79 79
                 <b>
80 80
                     <a class="button-primary"
81 81
                        id='get-started-after-migrate'
82 82
                        href="<?php
83
-                        echo esc_url_raw(add_query_arg(['page' => 'espresso_about'], admin_url('admin.php')));
84
-                        ?>"
83
+						echo esc_url_raw(add_query_arg(['page' => 'espresso_about'], admin_url('admin.php')));
84
+						?>"
85 85
                     >
86 86
                         <?php esc_html_e("Let's Get Started", "event_espresso"); ?>&nbsp;
87 87
                         <span class="dashicons dashicons-arrow-right ee-icon-size-22" style="margin:0;"></span>
@@ -92,46 +92,46 @@  discard block
 block discarded – undo
92 92
 
93 93
 
94 94
         <?php
95
-        if ($show_backup_db_text) {
96
-            echo $migration_options_html;
97
-        } ?>
95
+		if ($show_backup_db_text) {
96
+			echo $migration_options_html;
97
+		} ?>
98 98
 
99 99
         <?php
100
-        if ($show_most_recent_migration) {
101
-            if ($most_recent_migration instanceof EE_Data_Migration_Script_Base) {
102
-                if ($most_recent_migration->can_continue()) {
103
-                    // tell the user they should continue their migration because it appears to be unfinished... well, assuming there were no errors ?>
100
+		if ($show_most_recent_migration) {
101
+			if ($most_recent_migration instanceof EE_Data_Migration_Script_Base) {
102
+				if ($most_recent_migration->can_continue()) {
103
+					// tell the user they should continue their migration because it appears to be unfinished... well, assuming there were no errors ?>
104 104
                     <h3 class="espresso-header">
105 105
                         <span class="dashicons dashicons-star-half ee-icon-size-22"></span>
106 106
                         <?php printf(
107
-                            esc_html__(
108
-                                "It appears that your previous Database Update (%s) is incomplete, and should be resumed",
109
-                                "event_espresso"
110
-                            ),
111
-                            $most_recent_migration->pretty_name()
112
-                        ); ?>
107
+							esc_html__(
108
+								"It appears that your previous Database Update (%s) is incomplete, and should be resumed",
109
+								"event_espresso"
110
+							),
111
+							$most_recent_migration->pretty_name()
112
+						); ?>
113 113
                     </h3>
114 114
                     <?php
115
-                } elseif ($most_recent_migration->is_broken()) {
116
-                    // tell the user the migration failed, and they should notify EE?>
115
+				} elseif ($most_recent_migration->is_broken()) {
116
+					// tell the user the migration failed, and they should notify EE?>
117 117
                     <h3 class="espresso-header">
118 118
                         <span class="dashicons dashicons-no ee-icon-size-22"></span>
119 119
                         <?php echo esc_html($most_recent_migration->get_feedback_message()) ?>
120 120
                     </h3>
121 121
                     <?php
122
-                }
123
-                // display errors or not of the most recent migration ran
124
-                if ($most_recent_migration->get_errors()) {
125
-                    ?>
122
+				}
123
+				// display errors or not of the most recent migration ran
124
+				if ($most_recent_migration->get_errors()) {
125
+					?>
126 126
                     <div class="ee-attention">
127 127
                         <strong>
128 128
                             <?php printf(
129
-                                esc_html__(
130
-                                    "Warnings occurred during your last Database Update (%s):",
131
-                                    'event_espresso'
132
-                                ),
133
-                                $most_recent_migration->pretty_name()
134
-                            ); ?>
129
+								esc_html__(
130
+									"Warnings occurred during your last Database Update (%s):",
131
+									'event_espresso'
132
+								),
133
+								$most_recent_migration->pretty_name()
134
+							); ?>
135 135
                         </strong>
136 136
                         <a id="show-hide-migration-warnings" class="display-the-hidden">
137 137
                             <?php esc_html_e("Show Warnings", 'event_espresso'); ?>
@@ -143,32 +143,32 @@  discard block
 block discarded – undo
143 143
                         </ul>
144 144
                     </div>
145 145
                     <?php
146
-                } else {
147
-                    // there were no errors during the last migration, just say so?>
146
+				} else {
147
+					// there were no errors during the last migration, just say so?>
148 148
                     <h2>
149 149
                         <?php printf(
150
-                            esc_html__(
151
-                                "The last Database Update (%s) ran successfully without errors.",
152
-                                "event_espresso"
153
-                            ),
154
-                            $most_recent_migration->pretty_name()
155
-                        ); ?>
150
+							esc_html__(
151
+								"The last Database Update (%s) ran successfully without errors.",
152
+								"event_espresso"
153
+							),
154
+							$most_recent_migration->pretty_name()
155
+						); ?>
156 156
                     </h2>
157 157
                     <?php
158
-                }
159
-            }
160
-        }
161
-        // end of: if ( $show_most_recent_migration )
162
-        ?>
158
+				}
159
+			}
160
+		}
161
+		// end of: if ( $show_most_recent_migration )
162
+		?>
163 163
 
164 164
     </div>
165 165
     <!--end of #migration-prep-->
166 166
 
167 167
     <?php
168
-    if ($show_migration_progress) { ?>
168
+	if ($show_migration_progress) { ?>
169 169
         <div id='migration-monitor' <?php echo $show_backup_db_text ? "style='display:none'" : '' ?>>
170 170
             <?php
171
-            if ($show_backup_db_text) { ?>
171
+			if ($show_backup_db_text) { ?>
172 172
                 <p>
173 173
                     <a class="toggle-migration-monitor small-text" style="cursor: pointer;">
174 174
                         <span class="dashicons dashicons-arrow-left-alt2" style="top:0;"></span>
@@ -178,19 +178,19 @@  discard block
 block discarded – undo
178 178
 
179 179
                 </p>
180 180
                 <?php
181
-            } ?>
181
+			} ?>
182 182
             <div id='progress-area'>
183 183
                 <h3 class="espresso-header">
184 184
                     <?php
185
-                    echo sprintf(
186
-                        _n(
187
-                            "The following task needs to be performed:",
188
-                            "The following %s tasks need to be performed:",
189
-                            count($script_names),
190
-                            "event_espresso"
191
-                        ),
192
-                        count($script_names)
193
-                    ); ?>
185
+					echo sprintf(
186
+						_n(
187
+							"The following task needs to be performed:",
188
+							"The following %s tasks need to be performed:",
189
+							count($script_names),
190
+							"event_espresso"
191
+						),
192
+						count($script_names)
193
+					); ?>
194 194
                 </h3>
195 195
                 <ul style="list-style: inside;">
196 196
                     <?php foreach ($script_names as $script_name) { ?>
@@ -201,9 +201,9 @@  discard block
 block discarded – undo
201 201
                 <?php if (count($script_names) > 1) { ?>
202 202
                     <p>
203 203
                         <?php esc_html_e(
204
-                            "Please note: after each task is completed you will need to continue the Database Update, or report an error to Event Espresso.",
205
-                            "event_espresso"
206
-                        ); ?>
204
+							"Please note: after each task is completed you will need to continue the Database Update, or report an error to Event Espresso.",
205
+							"event_espresso"
206
+						); ?>
207 207
                     </p>
208 208
                 <?php } ?>
209 209
 
@@ -214,19 +214,19 @@  discard block
 block discarded – undo
214 214
                         </span>
215 215
                         <br />
216 216
                         <?php esc_html_e(
217
-                            "Depending on the number of events and the complexity of the information in your database, this could take a few minutes.",
218
-                            "event_espresso"
219
-                        ); ?>
217
+							"Depending on the number of events and the complexity of the information in your database, this could take a few minutes.",
218
+							"event_espresso"
219
+						); ?>
220 220
                     </p>
221 221
                     <p>
222 222
                         <?php printf(
223
-                            esc_html__(
224
-                                "%sPlease be patient and do NOT navigate away from this page once the migration has begun%s. If any issues arise due to existing malformed data, an itemized report will be made available to you after the migration has completed.",
225
-                                "event_espresso"
226
-                            ),
227
-                            '<strong>',
228
-                            '</strong>'
229
-                        ); ?>
223
+							esc_html__(
224
+								"%sPlease be patient and do NOT navigate away from this page once the migration has begun%s. If any issues arise due to existing malformed data, an itemized report will be made available to you after the migration has completed.",
225
+								"event_espresso"
226
+							),
227
+							'<strong>',
228
+							'</strong>'
229
+						); ?>
230 230
                     </p>
231 231
                     <p>
232 232
                         <?php esc_html_e("Click the button below to begin the migration process.", "event_espresso") ?>
@@ -242,8 +242,8 @@  discard block
 block discarded – undo
242 242
 
243 243
                 <button id='start-migration' class='button-primary'>
244 244
                     <?php echo $show_continue_current_migration_script
245
-                        ? esc_html__("Continue Database Update", "event_espresso")
246
-                        : esc_html__("Begin Database Update", "event_espresso"); ?>
245
+						? esc_html__("Continue Database Update", "event_espresso")
246
+						: esc_html__("Begin Database Update", "event_espresso"); ?>
247 247
                 </button>
248 248
                 <br class="clear" />
249 249
 
@@ -259,9 +259,9 @@  discard block
 block discarded – undo
259 259
         </div>
260 260
 
261 261
         <?php
262
-    }
263
-    if ($show_maintenance_switch) {
264
-        ?>
262
+	}
263
+	if ($show_maintenance_switch) {
264
+		?>
265 265
         <h2>
266 266
             <span class="dashicons dashicons-admin-tools"></span>
267 267
             <?php esc_html_e('Set Event Espresso Maintenance Mode', 'event_espresso'); ?>
@@ -276,9 +276,9 @@  discard block
 block discarded – undo
276 276
                                    type='radio'
277 277
                                    value="0"
278 278
                                 <?php echo $mMode_level === EE_Maintenance_Mode::level_0_not_in_maintenance
279
-                                    ? 'checked="checked"'
280
-                                    : ''
281
-                                ?>
279
+									? 'checked="checked"'
280
+									: ''
281
+								?>
282 282
                             />
283 283
                         </td>
284 284
                         <th align="left">
@@ -287,9 +287,9 @@  discard block
 block discarded – undo
287 287
                             </label>
288 288
                             <p class='description' style="font-weight: normal;">
289 289
                                 <?php esc_html_e(
290
-                                    "This is the normal operating mode for Event Espresso and allows all functionality to be viewed by all site visitors.",
291
-                                    "event_espresso"
292
-                                ); ?>
290
+									"This is the normal operating mode for Event Espresso and allows all functionality to be viewed by all site visitors.",
291
+									"event_espresso"
292
+								); ?>
293 293
                             </p>
294 294
                         </th>
295 295
                     </tr>
@@ -300,9 +300,9 @@  discard block
 block discarded – undo
300 300
                                    type='radio'
301 301
                                    value="1"
302 302
                                 <?php echo $mMode_level === EE_Maintenance_Mode::level_1_frontend_only_maintenance
303
-                                    ? 'checked="checked"'
304
-                                    : ''
305
-                                ?>
303
+									? 'checked="checked"'
304
+									: ''
305
+								?>
306 306
                             />
307 307
                         </td>
308 308
                         <th align="left">
@@ -311,9 +311,9 @@  discard block
 block discarded – undo
311 311
                             </label>
312 312
                             <p class='description' style="font-weight: normal;">
313 313
                                 <?php esc_html_e(
314
-                                    "This disables Event Espresso frontend functionality for all site visitors that are not administrators, and allows you to configure and/or test things on the frontend of your website before others can see.",
315
-                                    "event_espresso"
316
-                                ); ?>
314
+									"This disables Event Espresso frontend functionality for all site visitors that are not administrators, and allows you to configure and/or test things on the frontend of your website before others can see.",
315
+									"event_espresso"
316
+								); ?>
317 317
                             </p>
318 318
                         </th>
319 319
                     </tr>
@@ -327,6 +327,6 @@  discard block
 block discarded – undo
327 327
             </p>
328 328
         </form>
329 329
         <?php
330
-    } ?>
330
+	} ?>
331 331
 
332 332
 </div>
Please login to merge, or discard this patch.