Skip to content
Merged
Prev Previous commit
Next Next commit
Remove debug code
  • Loading branch information
ryelle committed May 29, 2024
commit 49e09c7cafcf821b833b417c4899c4c1a92a3345
2 changes: 1 addition & 1 deletion source/wp-content/themes/wporg-themes-2024/inc/i18n.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function translate_term( $term ) {
}

$label = TRANSLATED_TAXONOMIES[ $term->taxonomy ];
$term->name = strrev( translate_with_gettext_context( html_entity_decode( $term->name ), $label . ' term name', 'wporg-themes' ) ); // phpcs:ignore
$term->name = esc_html( translate_with_gettext_context( html_entity_decode( $term->name ), $label . ' term name', 'wporg-themes' ) ); // phpcs:ignore
if ( ! empty( $term->description ) ) {
$term->description = esc_html( translate_with_gettext_context( html_entity_decode( $term->description ), $label . ' term description', 'wporg-themes' ) ); // phpcs:ignore
}
Expand Down