[wp-trac] [WordPress Trac] #60295: esc_html() function returns an empty string when the last character of the input string variable is ASCII 145 or 146
WordPress Trac
noreply at wordpress.org
Fri Jan 19 19:56:07 UTC 2024
#60295: esc_html() function returns an empty string when the last character of the
input string variable is ASCII 145 or 146
-------------------------------+----------------------
Reporter: jani20 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version:
Severity: normal | Resolution: invalid
Keywords: reporter-feedback | Focuses:
-------------------------------+----------------------
Changes (by dmsnell):
* status: new => closed
* resolution: => invalid
* milestone: Awaiting Review =>
Comment:
Glad to hear it, @jani20. I'm going to close this ticket as invalid
because I think that's the way to say "this isn't a bug with WordPress
directly". It sounds like the culprit is telling WordPress that some text
is UTF-8 when it's invalid.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60295#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list