| @@ -3,9 +3,9 @@ | ||
| 3 | 3 | * Displays the table wrapper and includes the rest the table. |
| 4 | 4 | * |
| 5 | 5 | * Override this template by copying it to yourtheme/charitable/tables/table.php |
| 6 | 6 | * |
| 7 | - * @author Studio 164a | |
| 7 | + * @author WP Charitable LLC | |
| 8 | 8 | * @package Charitable/Templates/Tables |
| 9 | 9 | * @since 1.5.0 |
| 10 | 10 | * @version 1.5.0 |
| 11 | 11 | */ |
| @@ -10,9 +10,11 @@ | ||
| 10 | 10 | * @version 1.5.0 |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | 13 | // Exit if accessed directly. |
| 14 | -if ( ! defined( 'ABSPATH' ) ) { exit; } | |
| 14 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 15 | + exit; | |
| 16 | +} | |
| 15 | 17 | |
| 16 | 18 | if ( ! array_key_exists( 'helper', $view_args ) ) { |
| 17 | 19 | return; |
| 18 | 20 | } |
| @@ -17,9 +19,9 @@ | ||
| 17 | 19 | return; |
| 18 | 20 | } |
| 19 | 21 | |
| 20 | 22 | ?> |
| 21 | -<table <?php echo $view_args['helper']->table_attributes() ?>> | |
| 23 | +<table <?php echo $view_args['helper']->table_attributes(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>> | |
| 22 | 24 | <thead> |
| 23 | 25 | <?php charitable_template( 'tables/header.php', $view_args ) ?> |
| 24 | 26 | </thead> |
| 25 | 27 | <tbody> |