Docs: Add and correct @since docs for a variety of functions and methods.
Props keesiemeijer, chris_dev Fixes #39343, #39357, #39344 See #39130 Built from https://develop.svn.wordpress.org/trunk@39638 git-svn-id: http://core.svn.wordpress.org/trunk@39578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1449,6 +1449,7 @@ function wp_kses_normalize_entities2($matches) {
|
||||
* This function helps wp_kses_normalize_entities() to only accept valid Unicode
|
||||
* numeric entities in hex form.
|
||||
*
|
||||
* @since 2.7.0
|
||||
* @access private
|
||||
*
|
||||
* @param array $matches preg_replace_callback() matches array
|
||||
@@ -1465,6 +1466,8 @@ function wp_kses_normalize_entities3($matches) {
|
||||
/**
|
||||
* Helper function to determine if a Unicode value is valid.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param int $i Unicode value
|
||||
* @return bool True if the value was a valid Unicode number
|
||||
*/
|
||||
@@ -1497,6 +1500,8 @@ function wp_kses_decode_entities($string) {
|
||||
/**
|
||||
* Regex callback for wp_kses_decode_entities()
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param array $match preg match
|
||||
* @return string
|
||||
*/
|
||||
@@ -1507,6 +1512,8 @@ function _wp_kses_decode_entities_chr( $match ) {
|
||||
/**
|
||||
* Regex callback for wp_kses_decode_entities()
|
||||
*
|
||||
* @since 2.9.0
|
||||
*
|
||||
* @param array $match preg match
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user