KSES instead of escaping of download names

Fixes #19181
This commit is contained in:
Mike Jolley 2018-03-01 10:37:39 +00:00
parent 8bfb0a96d4
commit aca0662839
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ $text_align = is_rtl() ? 'right' : 'left';
switch ( $column_id ) {
case 'download-product':
?>
<a href="<?php echo esc_url( get_permalink( $download['product_id'] ) ); ?>"><?php echo esc_html( $download['product_name'] ); ?></a>
<a href="<?php echo esc_url( get_permalink( $download['product_id'] ) ); ?>"><?php echo wp_kses_post( $download['product_name'] ); ?></a>
<?php
break;
case 'download-file':