File: wp-includes/kses.php
-
functionwp_filter_global_styles_post()
Sanitizes global styles user content removing unsafe rules.
-
Filters the check for unsafe CSS in `safecss_filter_attr`.
-
functionwp_kses_xml_named_entities()
Callback for `wp_kses_normalize_entities()` regular expression.
-
functionwp_kses_uri_attributes()
Returns an array of HTML attribute names whose value contains a URL.
-
Filters the list of attributes that are required to contain a URL.
-
functionwp_kses_post_deep()
Navigates through an array, object, or scalar, and sanitizes content for allowed HTML tags for post content.
-
functionwp_kses_attr_parse()
Finds all attributes of an HTML element.
-
functionwp_kses_hair_parse()
Builds an attribute list from string containing attributes.
-
functionwp_kses_attr_check()
Determines whether an attribute is allowed.
-
functionwp_kses_one_attr()
Filters one HTML attribute and ensures its value is allowed.
-
functionwp_kses_data()
Sanitize content with allowed HTML KSES rules.
-
functionwp_filter_post_kses()
Sanitizes content for allowed HTML tags for post content.
-
functionwp_kses_post()
Sanitizes content for allowed HTML tags for post content.
-
functionwp_filter_nohtml_kses()
Strips all HTML from a text string.
-
functionkses_init_filters()
Adds all KSES input form content filters.
-
functionkses_remove_filters()
Removes all KSES input form content filters.
-
functionkses_init()
Sets up most of the KSES filters for input form content.
-
functionsafecss_filter_attr()
Filters an inline style attribute and removes disallowed rules.
-
hooksafe_style_css
Filters the list of allowed CSS attributes.
-
functionwp_kses_no_null()
Removes any invalid control characters in a text string.
-
functionwp_kses_stripslashes()
Strips slashes from in front of quotes.
-
functionwp_kses_array_lc()
Converts the keys of an array to lowercase.
-
functionwp_kses_html_error()
Handles parsing errors in `wp_kses_hair()`.
-
functionwp_kses_bad_protocol_once()
Sanitizes content from bad protocols and other characters.
-
functionwp_kses_normalize_entities()
Converts and fixes HTML entities.
-
functionwp_kses_named_entities()
Callback for `wp_kses_normalize_entities()` regular expression.
-
functionwp_kses_attr()
Removes all attributes, if none are allowed for this element.
-
functionvalid_unicode()
Determines if a Unicode codepoint is valid.
-
functionwp_kses_hair()
Builds an attribute list from string containing attributes.
-
functionwp_kses_decode_entities()
Converts all numeric HTML entities to their named counterparts.