wp/wp-includes/class-wp-simplepie-sanitize-kses.php
changeset 18 be944660c56a
parent 16 a86126ab1dd4
child 19 3d72ae0968f4
equal deleted inserted replaced
17:34716fd837a4 18:be944660c56a
    25 	 * Sanitizes the incoming data, to ensure that it matches the type of data expected, using KSES.
    25 	 * Sanitizes the incoming data, to ensure that it matches the type of data expected, using KSES.
    26 	 *
    26 	 *
    27 	 * @since 3.5.0
    27 	 * @since 3.5.0
    28 	 *
    28 	 *
    29 	 * @param mixed   $data The data that needs to be sanitized.
    29 	 * @param mixed   $data The data that needs to be sanitized.
    30 	 * @param integer $type The type of data that it's supposed to be.
    30 	 * @param int     $type The type of data that it's supposed to be.
    31 	 * @param string  $base Optional. The `xml:base` value to use when converting relative
    31 	 * @param string  $base Optional. The `xml:base` value to use when converting relative
    32 	 *                      URLs to absolute ones. Default empty.
    32 	 *                      URLs to absolute ones. Default empty.
    33 	 * @return mixed Sanitized data.
    33 	 * @return mixed Sanitized data.
    34 	 */
    34 	 */
    35 	public function sanitize( $data, $type, $base = '' ) {
    35 	public function sanitize( $data, $type, $base = '' ) {