[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

/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):
  sanitize()


Class: WP_SimplePie_Sanitize_KSES  - X-Ref

Core class used to implement SimplePie 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.

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



Generated: Thu Nov 21 01:00:03 2024 Cross-referenced by PHPXref 0.7.1