Skip to content

Commit

Permalink
FIX: categories list formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MjHead committed Jun 12, 2017
1 parent 3ab698d commit b67ff03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function wapu_get_post_category() {
/* translators: used between list items, there is a space after the comma */
$categories_list = get_the_category_list( '<span>' . esc_html__( ', ', 'wapu' ) . '</span>' );
if ( $categories_list && wapu_categorized_blog() ) {
printf( $result_format, esc_html( $categories_list ) );
printf( $result_format, wp_kses_post( $categories_list ) );
}
return;
}
Expand Down

0 comments on commit b67ff03

Please sign in to comment.