[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 10:50:43 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: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When the last character of a string variable used as an argument by
esc_html() is a left or right single quotation mark (ASCII 145 or 146),
the esc_html() function returns an empty string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60295>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list