[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Feed API: WP_SimplePie_Sanitize_KSES class

File Size: 56 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



Generated : Sat Dec 21 08:20:01 2024 Cross-referenced by PHPXref