PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.85
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.85
5.5.85 5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 5.5.41 All 161 releases
← All changes | WPDataAccess/Settings/WPDA_Settings_SystemInfo.php +63 -63 5.5.40 → 5.5.85 View file →
@@ -55,9 +55,9 @@
55 55 $table_settings_table_name = WPDA_Table_Settings_Model::get_base_table_name();
56 56 $table_settings_table_exists = WPDA_Table_Settings_Model::table_exists();
57 57
58 58 // Check table characteristics.
59 - $table_chararteristics_results = $wpdb->get_results(
59 + $table_chararteristics_results = $wpdb->get_results( // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- plugin tables
60 60 $wpdb->prepare(
61 61 '
62 62 select table_name AS table_name, engine AS engine, table_collation AS table_collation
63 63 from information_schema.tables
@@ -119,22 +119,22 @@
119 119 return clipboard_text;
120 120 }
121 121 });
122 122 text_to_clipboard.on('success', function (e) {
123 - jQuery.notify('<?php echo __( 'System info successfully copied to clipboard!' ); ?>','info');
123 + jQuery.notify('<?php esc_html_e( 'System info successfully copied to clipboard!', 'wp-data-access' ); ?>','info');
124 124 });
125 125 text_to_clipboard.on('error', function (e) {
126 - jQuery.notify('<?php echo __( 'Could not copy system info to clipboard!' ); ?>','error');
126 + jQuery.notify('<?php esc_html_e( 'Could not copy system info to clipboard!', 'wp-data-access' ); ?>','error');
127 127 });
128 128 });
129 129 </script>
130 130 <table class="wpda-table-settings" id="wpda_table_info">
131 131 <tr>
132 - <th class="wpda_system_info_title"><?php echo __( 'Operating System' ); ?></th>
132 + <th class="wpda_system_info_title"><?php esc_html_e( 'Operating System', 'wp-data-access' ); ?></th>
133 133 <td>
134 134 <table class="wpda-table-system-info" style="width:100%">
135 135 <tr>
136 - <th class="wpda_system_info_subtitle"><?php echo __( 'Type' ); ?></th>
136 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Type', 'wp-data-access' ); ?></th>
137 137 <td class="wpda_system_info_value">
138 138 <?php echo esc_attr( php_uname( 's' ) ); ?>
139 139 </td>
140 140 <td style="float:right">
@@ -140,32 +140,32 @@
140 140 <td style="float:right">
141 141 <a id="button-copy-to-clipboard" href="javascript:void(0)"
142 142 class="button button-primary">
143 143 <i class="fas fa-clipboard wpda_icon_on_button"></i>
144 - <?php echo __( 'Copy to clipboard' ); ?>
144 + <?php esc_html_e( 'Copy to clipboard', 'wp-data-access' ); ?>
145 145 </a>
146 146 </td>
147 147 </tr>
148 148 <tr>
149 - <th class="wpda_system_info_subtitle"><?php echo __( 'Release' ); ?></th>
149 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Release', 'wp-data-access' ); ?></th>
150 150 <td class="wpda_system_info_value" colspan="2">
151 151 <?php echo esc_attr( php_uname( 'r' ) ); ?>
152 152 </td>
153 153 </tr>
154 154 <tr>
155 - <th class="wpda_system_info_subtitle"><?php echo __( 'Version' ); ?></th>
155 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Version', 'wp-data-access' ); ?></th>
156 156 <td class="wpda_system_info_value" colspan="2">
157 157 <?php echo esc_attr( php_uname( 'v' ) ); ?>
158 158 </td>
159 159 </tr>
160 160 <tr>
161 - <th class="wpda_system_info_subtitle"><?php echo __( 'Machine Type' ); ?></th>
161 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Machine Type', 'wp-data-access' ); ?></th>
162 162 <td class="wpda_system_info_value" colspan="2">
163 163 <?php echo esc_attr( php_uname( 'm' ) ); ?>
164 164 </td>
165 165 </tr>
166 166 <tr>
167 - <th class="wpda_system_info_subtitle"><?php echo __( 'Host Name' ); ?></th>
167 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Host Name', 'wp-data-access' ); ?></th>
168 168 <td class="wpda_system_info_value" colspan="2">
169 169 <?php echo esc_attr( php_uname( 'n' ) ); ?>
170 170 </td>
171 171 </tr>
@@ -172,16 +172,16 @@
172 172 </table>
173 173 </td>
174 174 </tr>
175 175 <tr>
176 - <th class="wpda_system_info_title"><?php echo __( 'Database Management System' ); ?></th>
176 + <th class="wpda_system_info_title"><?php esc_html_e( 'Database Management System', 'wp-data-access' ); ?></th>
177 177 <td>
178 178 <table class="wpda-table-system-info" style="width:100%">
179 179 <tr>
180 - <th class="wpda_system_info_subtitle"><?php echo __( 'Version' ); ?></th>
180 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Version', 'wp-data-access' ); ?></th>
181 181 <td class="wpda_system_info_value" colspan="2">
182 182 <?php
183 - $db_version = $wpdb->get_results( "SHOW VARIABLES LIKE 'version'", 'ARRAY_N' );
183 + $db_version = $wpdb->get_results( "SHOW VARIABLES LIKE 'version'", 'ARRAY_N' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
184 184 if ( is_array( $db_version ) && isset( $db_version[0][1] ) ) {
185 185 echo esc_attr( $db_version[0][1] );
186 186 } else {
187 187 echo esc_attr( $wpdb->db_version );
@@ -189,12 +189,12 @@
189 189 ?>
190 190 </td>
191 191 </tr>
192 192 <tr>
193 - <th class="wpda_system_info_subtitle"><?php echo __( 'Pivileges' ); ?></th>
193 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Pivileges', 'wp-data-access' ); ?></th>
194 194 <td class="wpda_system_info_value" colspan="2">
195 195 <?php
196 - $db_privileges = $wpdb->get_results( 'SHOW PRIVILEGES', 'ARRAY_N' );
196 + $db_privileges = $wpdb->get_results( 'SHOW PRIVILEGES', 'ARRAY_N' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
197 197 if ( is_array( $db_privileges ) ) {
198 198 $db_privileges_output = '';
199 199 foreach ( $db_privileges as $db_privilege ) {
200 200 $db_privileges_output .= "$db_privilege[0], ";
@@ -204,12 +204,12 @@
204 204 ?>
205 205 </td>
206 206 </tr>
207 207 <tr>
208 - <th class="wpda_system_info_subtitle"><?php echo __( 'Grants' ); ?></th>
208 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Grants', 'wp-data-access' ); ?></th>
209 209 <td class="wpda_system_info_value" colspan="2">
210 210 <?php
211 - $db_grants = $wpdb->get_results( 'SHOW GRANTS', 'ARRAY_N' );
211 + $db_grants = $wpdb->get_results( 'SHOW GRANTS', 'ARRAY_N' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
212 212 if ( is_array( $db_grants ) ) {
213 213 $db_grants_output = '';
214 214 foreach ( $db_grants as $db_grant ) {
215 215 $strpos = stripos( $db_grant[0], 'IDENTIFIED BY PASSWORD ' );
@@ -224,12 +224,12 @@
224 224 ?>
225 225 </td>
226 226 </tr>
227 227 <tr>
228 - <th class="wpda_system_info_subtitle"><?php echo __( 'SQL Mode' ); ?></th>
228 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'SQL Mode', 'wp-data-access' ); ?></th>
229 229 <td class="wpda_system_info_value" colspan="2">
230 230 <?php
231 - $db_sql_mode = $wpdb->get_results( 'SHOW VARIABLES LIKE \'sql_mode\'', 'ARRAY_N' );
231 + $db_sql_mode = $wpdb->get_results( 'SHOW VARIABLES LIKE \'sql_mode\'', 'ARRAY_N' ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
232 232 if ( isset( $db_sql_mode[0][1] ) ) {
233 233 echo esc_attr( $db_sql_mode[0][1] );
234 234 }
235 235 ?>
@@ -238,91 +238,91 @@
238 238 </table>
239 239 </td>
240 240 </tr>
241 241 <tr>
242 - <th class="wpda_system_info_title"><?php echo __( 'Web Server' ); ?></th>
242 + <th class="wpda_system_info_title"><?php esc_html_e( 'Web Server', 'wp-data-access' ); ?></th>
243 243 <td>
244 244 <table class="wpda-table-system-info" style="width:100%">
245 245 <tr>
246 - <th class="wpda_system_info_subtitle"><?php echo __( 'Software' ); ?></th>
246 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Software', 'wp-data-access' ); ?></th>
247 247 <td class="wpda_system_info_value" colspan="2">
248 - <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) ) ); ?>
248 + <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated ?>
249 249 </td>
250 250 </tr>
251 251 <tr>
252 - <th class="wpda_system_info_subtitle"><?php echo __( 'PHP Version' ); ?></th>
252 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'PHP Version', 'wp-data-access' ); ?></th>
253 253 <td class="wpda_system_info_value" colspan="2">
254 254 <?php echo esc_attr( phpversion() ); ?>
255 255 </td>
256 256 </tr>
257 257 <tr>
258 - <th class="wpda_system_info_subtitle"><?php echo __( 'Protocol' ); ?></th>
258 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Protocol', 'wp-data-access' ); ?></th>
259 259 <td class="wpda_system_info_value" colspan="2">
260 - <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_PROTOCOL'] ) ) ); ?>
260 + <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_PROTOCOL'] ) ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated ?>
261 261 </td>
262 262 </tr>
263 263 <tr>
264 - <th class="wpda_system_info_subtitle"><?php echo __( 'Name' ); ?></th>
264 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Name', 'wp-data-access' ); ?></th>
265 265 <td class="wpda_system_info_value" colspan="2">
266 - <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ) ); ?>
266 + <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['SERVER_NAME'] ) ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated ?>
267 267 </td>
268 268 </tr>
269 269 <tr>
270 - <th class="wpda_system_info_subtitle"><?php echo __( 'Address' ); ?></th>
270 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Address', 'wp-data-access' ); ?></th>
271 271 <td class="wpda_system_info_value" colspan="2">
272 272 <?php echo esc_attr( sanitize_text_field( wp_unslash( WPDA::get_server_address() ) ) ); ?>
273 273 </td>
274 274 </tr>
275 275 <tr>
276 - <th class="wpda_system_info_subtitle"><?php echo __( 'Root DIR' ); ?></th>
276 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Root DIR', 'wp-data-access' ); ?></th>
277 277 <td class="wpda_system_info_value" colspan="2">
278 - <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ) ); ?>
278 + <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['DOCUMENT_ROOT'] ) ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated ?>
279 279 </td>
280 280 </tr>
281 281 <tr>
282 - <th class="wpda_system_info_subtitle"><?php echo __( 'Temp DIR' ); ?></th>
282 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Temp DIR', 'wp-data-access' ); ?></th>
283 283 <td class="wpda_system_info_value" colspan="2">
284 284 <?php echo esc_attr( sys_get_temp_dir() ); ?>
285 285 </td>
286 286 </tr>
287 287 <tr>
288 - <th class="wpda_system_info_subtitle"><?php echo __( 'HTTP Upload' ); ?></th>
288 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'HTTP Upload', 'wp-data-access' ); ?></th>
289 289 <td class="wpda_system_info_value" colspan="2">
290 290 <?php echo @ini_get( 'file_uploads' ) ? 'Enabled' : 'Disabled'; ?>
291 291 </td>
292 292 </tr>
293 293 <tr>
294 - <th class="wpda_system_info_subtitle"><?php echo __( 'Max Upload File Size' ); ?></th>
294 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Max Upload File Size', 'wp-data-access' ); ?></th>
295 295 <td class="wpda_system_info_value" colspan="2">
296 296 <?php echo esc_attr( @ini_get( 'upload_max_filesize' ) ); ?>
297 297 </td>
298 298 </tr>
299 299 <tr>
300 - <th class="wpda_system_info_subtitle"><?php echo __( 'Post Max Size' ); ?></th>
300 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Post Max Size', 'wp-data-access' ); ?></th>
301 301 <td class="wpda_system_info_value" colspan="2">
302 302 <?php echo esc_attr( @ini_get( 'post_max_size' ) ); ?>
303 303 </td>
304 304 </tr>
305 305 <tr>
306 - <th class="wpda_system_info_subtitle"><?php echo __( 'Max Execution Time' ); ?></th>
306 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Max Execution Time', 'wp-data-access' ); ?></th>
307 307 <td class="wpda_system_info_value" colspan="2">
308 308 <?php echo esc_attr( @ini_get( 'max_execution_time' ) ); ?>
309 309 </td>
310 310 </tr>
311 311 <tr>
312 - <th class="wpda_system_info_subtitle"><?php echo __( 'Max Input Time' ); ?></th>
312 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Max Input Time', 'wp-data-access' ); ?></th>
313 313 <td class="wpda_system_info_value" colspan="2">
314 314 <?php echo esc_attr( @ini_get( 'max_input_time' ) ); ?>
315 315 </td>
316 316 </tr>
317 317 <tr>
318 - <th class="wpda_system_info_subtitle"><?php echo __( 'Memory Limit' ); ?></th>
318 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Memory Limit', 'wp-data-access' ); ?></th>
319 319 <td class="wpda_system_info_value" colspan="2">
320 320 <?php echo esc_attr( @ini_get( 'memory_limit' ) ); ?>
321 321 </td>
322 322 </tr>
323 323 <tr>
324 - <th class="wpda_system_info_subtitle"><?php echo __( 'Output Buffering' ); ?></th>
324 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Output Buffering', 'wp-data-access' ); ?></th>
325 325 <td class="wpda_system_info_value" colspan="2">
326 326 <?php echo esc_attr( @ini_get( 'output_buffering' ) ); ?>
327 327 </td>
328 328 </tr>
@@ -329,65 +329,65 @@
329 329 </table>
330 330 </td>
331 331 </tr>
332 332 <tr>
333 - <th class="wpda_system_info_title"><?php echo __( 'WordPress' ); ?></th>
333 + <th class="wpda_system_info_title"><?php esc_html_e( 'WordPress', 'wp-data-access' ); ?></th>
334 334 <td>
335 335 <table class="wpda-table-system-info" style="width:100%">
336 336 <tr>
337 - <th class="wpda_system_info_subtitle"><?php echo __( 'Version' ); ?></th>
337 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Version', 'wp-data-access' ); ?></th>
338 338 <td class="wpda_system_info_value" colspan="2">
339 339 <?php echo esc_attr( $wp_version ); ?>
340 340 </td>
341 341 </tr>
342 342 <tr>
343 - <th class="wpda_system_info_subtitle"><?php echo __( 'Home DIR' ); ?></th>
343 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Home DIR', 'wp-data-access' ); ?></th>
344 344 <td class="wpda_system_info_value" colspan="2">
345 345 <?php
346 346 echo esc_attr( get_home_path() );
347 347
348 - $error_level = error_reporting();
349 - error_reporting( E_ALL ^ E_WARNING );
348 + $error_level = error_reporting(); // phpcs:ignore
349 + error_reporting( E_ALL ^ E_WARNING ); // phpcs:ignore
350 350 $file_permission = fileperms( get_home_path() );
351 - error_reporting( $error_level );
351 + error_reporting( $error_level ); // phpcs:ignore
352 352 echo '&nbsp;&nbsp;&nbsp;>&nbsp;&nbsp;&nbsp;' . esc_attr( decoct( $file_permission & 0777 ) );
353 353 ?>
354 354 </td>
355 355 </tr>
356 356 <tr>
357 - <th class="wpda_system_info_subtitle"><?php echo __( 'Uploads DIR' ); ?></th>
357 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Uploads DIR', 'wp-data-access' ); ?></th>
358 358 <td class="wpda_system_info_value" colspan="2">
359 359 <?php
360 360 echo esc_attr( $uploads['basedir'] );
361 361
362 - $error_level = error_reporting();
363 - error_reporting( E_ALL ^ E_WARNING );
362 + $error_level = error_reporting(); // phpcs:ignore
363 + error_reporting( E_ALL ^ E_WARNING ); // phpcs:ignore
364 364 $file_permission = fileperms( $uploads['basedir'] );
365 - error_reporting( $error_level );
365 + error_reporting( $error_level ); // phpcs:ignore
366 366 echo '&nbsp;&nbsp;&nbsp;>&nbsp;&nbsp;&nbsp;' . esc_attr( decoct( $file_permission & 0777 ) );
367 367 ?>
368 368 </td>
369 369 </tr>
370 370 <tr>
371 - <th class="wpda_system_info_subtitle"><?php echo __( 'Home URL' ); ?></th>
371 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Home URL', 'wp-data-access' ); ?></th>
372 372 <td class="wpda_system_info_value" colspan="2">
373 373 <?php echo esc_attr( home_url() ); ?>
374 374 </td>
375 375 </tr>
376 376 <tr>
377 - <th class="wpda_system_info_subtitle"><?php echo __( 'Site URL' ); ?></th>
377 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Site URL', 'wp-data-access' ); ?></th>
378 378 <td class="wpda_system_info_value" colspan="2">
379 379 <?php echo esc_attr( site_url() ); ?>
380 380 </td>
381 381 </tr>
382 382 <tr>
383 - <th class="wpda_system_info_subtitle"><?php echo __( 'Upload URL' ); ?></th>
383 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Upload URL', 'wp-data-access' ); ?></th>
384 384 <td class="wpda_system_info_value" colspan="2">
385 385 <?php echo esc_attr( $uploads['baseurl'] ); ?>
386 386 </td>
387 387 </tr>
388 388 <tr>
389 - <th class="wpda_system_info_subtitle"><?php echo __( 'Use MySQLi' ); ?></th>
389 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Use MySQLi', 'wp-data-access' ); ?></th>
390 390 <td class="wpda_system_info_value" colspan="2">
391 391 <?php
392 392 // Taken from wp-db class
393 393 if ( function_exists( 'mysqli_connect' ) ) {
@@ -400,39 +400,39 @@
400 400 ?>
401 401 </td>
402 402 </tr>
403 403 <tr>
404 - <th class="wpda_system_info_subtitle"><?php echo __( 'Database Host' ); ?></th>
404 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Database Host', 'wp-data-access' ); ?></th>
405 405 <td class="wpda_system_info_value" colspan="2">
406 406 <?php echo esc_attr( DB_HOST ); ?>
407 407 </td>
408 408 </tr>
409 409 <tr>
410 - <th class="wpda_system_info_subtitle"><?php echo __( 'Database Name' ); ?></th>
410 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Database Name', 'wp-data-access' ); ?></th>
411 411 <td class="wpda_system_info_value" colspan="2">
412 412 <?php echo esc_attr( DB_NAME ); ?>
413 413 </td>
414 414 </tr>
415 415 <tr>
416 - <th class="wpda_system_info_subtitle"><?php echo __( 'Database User' ); ?></th>
416 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Database User', 'wp-data-access' ); ?></th>
417 417 <td class="wpda_system_info_value" colspan="2">
418 418 <?php echo esc_attr( DB_USER ); ?>
419 419 </td>
420 420 </tr>
421 421 <tr>
422 - <th class="wpda_system_info_subtitle"><?php echo __( 'Database Character Set' ); ?></th>
422 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Database Character Set', 'wp-data-access' ); ?></th>
423 423 <td class="wpda_system_info_value" colspan="2">
424 424 <?php echo esc_attr( DB_CHARSET ); ?>
425 425 </td>
426 426 </tr>
427 427 <tr>
428 - <th class="wpda_system_info_subtitle"><?php echo __( 'Database Collate' ); ?></th>
428 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Database Collate', 'wp-data-access' ); ?></th>
429 429 <td class="wpda_system_info_value" colspan="2">
430 430 <?php echo esc_attr( DB_COLLATE ); ?>
431 431 </td>
432 432 </tr>
433 433 <tr>
434 - <th class="wpda_system_info_subtitle"><?php echo __( 'WP Debugging Mode' ); ?></th>
434 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'WP Debugging Mode', 'wp-data-access' ); ?></th>
435 435 <td class="wpda_system_info_value" colspan="2">
436 436 <?php echo ! defined( 'WP_DEBUG' ) ? 'undefined' : ( true === WP_DEBUG ? 'true' : 'false' ); ?>
437 437 </td>
438 438 </tr>
@@ -443,15 +443,15 @@
443 443 <th class="wpda_system_info_title">WP Data Access</th>
444 444 <td>
445 445 <table class="wpda-table-system-info" style="width:100%">
446 446 <tr>
447 - <th class="wpda_system_info_subtitle"><?php echo __( 'Version' ); ?></th>
447 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Version', 'wp-data-access' ); ?></th>
448 448 <td class="wpda_system_info_value" colspan="2">
449 449 <?php echo esc_attr( WPDA::get_option( WPDA::OPTION_WPDA_VERSION ) ); ?>
450 450 </td>
451 451 </tr>
452 452 <tr>
453 - <th class="wpda_system_info_subtitle"><?php echo __( 'Repository' ); ?></th>
453 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Repository', 'wp-data-access' ); ?></th>
454 454 <td class="wpda_system_info_value" colspan="2">
455 455 <?php
456 456 echo $menus_table_name_exists ? '+' : '-';
457 457 echo esc_attr( $menus_table_name );
@@ -530,15 +530,15 @@
530 530 </table>
531 531 </td>
532 532 </tr>
533 533 <tr>
534 - <th class="wpda_system_info_title"><?php echo __( 'Browser' ); ?></th>
534 + <th class="wpda_system_info_title"><?php esc_html_e( 'Browser', 'wp-data-access' ); ?></th>
535 535 <td>
536 536 <table id="wpda_system_info_browser" class="wpda-table-system-info" style="width:100%">
537 537 <tr>
538 - <th class="wpda_system_info_subtitle"><?php echo __( 'Agent' ); ?></th>
538 + <th class="wpda_system_info_subtitle"><?php esc_html_e( 'Agent', 'wp-data-access' ); ?></th>
539 539 <td class="wpda_system_info_value" colspan="2">
540 - <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) ); ?>
540 + <?php echo esc_attr( sanitize_text_field( wp_unslash( $_SERVER['HTTP_USER_AGENT'] ) ) ); // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotValidated ?>
541 541 </td>
542 542 </tr>
543 543 <script type='text/javascript'>
544 544 jQuery.each(jQuery.browser, function (i, val) {