Make WordPress Core

Ticket #39130: 39130.3.patch

File 39130.3.patch, 974 bytes (added by keesiemeijer, 8 years ago)

improvements for /wp-includes/kses.php

  • src/wp-includes/kses.php

     
    14491449 * This function helps wp_kses_normalize_entities() to only accept valid Unicode
    14501450 * numeric entities in hex form.
    14511451 *
     1452 * @since  2.7.0
    14521453 * @access private
    14531454 *
    14541455 * @param array $matches preg_replace_callback() matches array
     
    14651466/**
    14661467 * Helper function to determine if a Unicode value is valid.
    14671468 *
     1469 * @since  2.7.0
     1470 *
    14681471 * @param int $i Unicode value
    14691472 * @return bool True if the value was a valid Unicode number
    14701473 */
     
    14971500/**
    14981501 * Regex callback for wp_kses_decode_entities()
    14991502 *
     1503 * @since  2.9.0
     1504 *
    15001505 * @param array $match preg match
    15011506 * @return string
    15021507 */
     
    15071512/**
    15081513 * Regex callback for wp_kses_decode_entities()
    15091514 *
     1515 * @since  2.9.0
     1516 *
    15101517 * @param array $match preg match
    15111518 * @return string
    15121519 */