FIX2: Wrong escape function used

This commit is contained in:
savvasha
2022-04-22 11:49:00 +03:00
parent acf7ffcc57
commit b34b0c47c1

View File

@@ -124,7 +124,7 @@ class SP_Meta_Box_Player_Statistics {
if ( $key == 'team' ) { if ( $key == 'team' ) {
continue;} continue;}
?> ?>
<th><?php echo esc_html( $label ); ?></th> <th><?php echo wp_kses_post( $label ); ?></th>
<?php endforeach; ?> <?php endforeach; ?>
<?php do_action( 'sportspress_meta_box_player_statistics_table_header_row', $id, $league_id ); ?> <?php do_action( 'sportspress_meta_box_player_statistics_table_header_row', $id, $league_id ); ?>
</tr> </tr>