wp_pre_kses_less_than( string $content )
Converts lone less than signs.
Description
KSES already converts lone greater than signs.
Parameters
- $content
-
(Required) Text to be converted.
Return
(string) Converted text.
Source
File: wp-includes/formatting.php
function wp_pre_kses_less_than( $text ) {
return preg_replace_callback('%<[^>]*?((?=<)|>|$)%', 'wp_pre_kses_less_than_callback', $text);
}
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |