Issue with archive title #4056
Labels
bug
This label could be used to identify issues that are caused by a defect in the product.
customer report
Indicates the request came from a customer.
Description
When I have a child theme archive.php file contains this code
The author print as (HTML goes encoded and I see span tag directly on the screen at frontend)
Gulshan
After debugging further, I realized that problem originate due to [esc_html] used in theme file. (
neve/inc/views/page_header.php
Line 164 in b2ef654
It seems uneccessary. Here's how I expect
https://developer.wordpress.org/reference/functions/get_the_archive_title/#comment-1807
When I remove the esc_html in the theme file, I can see the author name properly.
Can you make such changes or suggest any better way to handle this case?
Thanks
Step-by-step reproduction instructions
.
Screenshots, screen recording, code snippet or Help Scout ticket
.
Environment info
.
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered: