wp_kses_js_entities


wp_kses_js_entities ( $content )

Parameters:
  • (string) content
Returns:
  • (string)
Defined at:

Description

Removes the HTML JavaScript entities found in early versions of Netscape 4.Previously, this function was pulled in from the original import of kses and removed a specific vulnerability only existent in early version of Netscape 4. However, this vulnerability never affected any other browsers and can be considered safe for the modern web. The regular expression which sanitized this vulnerability has been removed in consideration of the performance and energy demands it placed, now merely passing through its input to the return.

Related Functions

wp_kses_named_entities, wp_kses_decode_entities, wp_kses_normalize_entities, wp_kses_xml_named_entities, wp_kses_split

Top Google Results

User discussions

wpseek mobile