wp_pre_kses_less_than( string $text )
Convert lone less than signs.
Description
KSES already converts lone greater than signs.
Parameters
- $text
-
(string) (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 |
---|---|
WP-2.3.0 | Introduced. |