[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/wp-includes/ -> class-wp-simplepie-sanitize-kses.php (summary)

Feed API: WP_SimplePie_Sanitize_KSES class

File Size: 57 lines (2 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WP_SimplePie_Sanitize_KSES:: (1 method):

Class: WP_SimplePie_Sanitize_KSES  - X-Ref

Core class used to implement SimpliePie feed sanitization.

Extends the SimplePie_Sanitize class to use KSES, because
we cannot universally count on DOMDocument being available.

sanitize( $data, $type, $base = '' )   X-Ref
WordPress SimplePie sanitization using KSES.

Sanitizes the incoming data, to ensure that it matches the type of data expected, using KSES.

param: mixed   $data The data that needs to be sanitized.
param: integer $type The type of data that it's supposed to be.
param: string  $base Optional. The `xml:base` value to use when converting relative
return: mixed Sanitized data.

Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1