[wp-trac] [WordPress Trac] #57538: escape-html.js - escapeAmpersand(value) return value.replace is not a function when "value" is not a string
WordPress Trac
noreply at wordpress.org
Tue Jan 24 16:50:35 UTC 2023
#57538: escape-html.js - escapeAmpersand(value) return value.replace is not a
function when "value" is not a string
--------------------------+------------------------------
Reporter: jrausell | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.1.1
Severity: normal | Resolution:
Keywords: | Focuses: javascript
--------------------------+------------------------------
Comment (by jrausell):
/wp-includes/js/dist/escape-html.js?ver=6cf743ecc1ac531a8ee6
Line 101
github : https://github.com/WordPress/WordPress/blob/master/wp-
includes/js/dist/escape-html.js
There are other 3 function that may have the same problem:
escapeQuotationMark() escapeLessThan()
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57538#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list