| @@ -3,12 +3,13 @@ | ||
| 3 | 3 | * Displays the table header. |
| 4 | 4 | * |
| 5 | 5 | * Override this template by copying it to yourtheme/charitable/tables/header.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 | + * @version 1.8.8.6 | |
| 11 | 12 | */ |
| 12 | 13 | |
| 13 | 14 | // Exit if accessed directly. |
| 14 | 15 | if ( ! defined( 'ABSPATH' ) ) { |
| @@ -20,8 +21,8 @@ | ||
| 20 | 21 | } |
| 21 | 22 | |
| 22 | 23 | ?> |
| 23 | 24 | <tr> |
| 24 | - <?php foreach ( $view_args['helper']->columns as $key => $header ) : ?> | |
| 25 | - <th scope="col" class="charitable-table-header-<?php echo esc_attr( $key ) ?>"><?php echo $header ?></th> | |
| 25 | + <?php foreach ( $view_args['helper']->columns as $charitable_key => $charitable_header ) : ?> | |
| 26 | + <th scope="col" class="charitable-table-header-<?php echo esc_attr( $charitable_key ) ?>"><?php echo wp_kses_post( $charitable_header ) ?></th> | |
| 26 | 27 | <?php endforeach ?> |
| 27 | 28 | </tr> |