index.php 1 location
|
@@ 98-100 (lines=3) @@
|
| 95 |
|
include_once APP_DIR . '/' . $file; |
| 96 |
|
$current_tests = new $class(); |
| 97 |
|
|
| 98 |
|
if ( isset( $_GET['tab'] ) && $_GET['tab'] !== '' ) { |
| 99 |
|
$tab = $_GET['tab']; // WPCS: ok - validation is done before use in VarType::get_test_group() method. |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
/** |
| 103 |
|
* Only return the table if it's an ajax call. |
class.vartype.php 1 location
|
@@ 642-644 (lines=3) @@
|
| 639 |
|
function print_row_cell_error_refs() { |
| 640 |
|
if ( is_array( $GLOBALS['has_error'] ) && count( $GLOBALS['has_error'] ) > 0 ) { |
| 641 |
|
foreach ( $GLOBALS['has_error'] as $error ) { |
| 642 |
|
if ( isset( $error['msg'] ) && $error['msg'] !== '' ) { |
| 643 |
|
echo '<br />', $error['msg']; |
| 644 |
|
} |
| 645 |
|
} |
| 646 |
|
} |
| 647 |
|
} |