mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-31 04:31:35 +01:00
Mark kses callbacks as private. Fixes #7363.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5506ddd8b5
commit
1452266770
@ -410,6 +410,7 @@ function wp_kses_split($string, $allowed_html, $allowed_protocols) {
|
|||||||
* through another filter which will remove illegal attributes and once
|
* through another filter which will remove illegal attributes and once
|
||||||
* that is completed, will be returned.
|
* that is completed, will be returned.
|
||||||
*
|
*
|
||||||
|
* @access private
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @uses wp_kses_attr()
|
* @uses wp_kses_attr()
|
||||||
*
|
*
|
||||||
@ -863,6 +864,7 @@ function wp_kses_bad_protocol_once($string, $allowed_protocols) {
|
|||||||
* This function processes URL protocols, checks to see if they're in the
|
* This function processes URL protocols, checks to see if they're in the
|
||||||
* white-list or not, and returns different data depending on the answer.
|
* white-list or not, and returns different data depending on the answer.
|
||||||
*
|
*
|
||||||
|
* @access private
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
* @param mixed $matches string or preg_replace_callback() matches array to check for bad protocols
|
* @param mixed $matches string or preg_replace_callback() matches array to check for bad protocols
|
||||||
@ -932,6 +934,7 @@ function wp_kses_normalize_entities($string) {
|
|||||||
* This function helps wp_kses_normalize_entities() to only accept 16 bit
|
* This function helps wp_kses_normalize_entities() to only accept 16 bit
|
||||||
* values and nothing more for &#number; entities.
|
* values and nothing more for &#number; entities.
|
||||||
*
|
*
|
||||||
|
* @access private
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*
|
*
|
||||||
* @param array $matches preg_replace_callback() matches array
|
* @param array $matches preg_replace_callback() matches array
|
||||||
@ -951,6 +954,8 @@ function wp_kses_normalize_entities2($matches) {
|
|||||||
* This function helps wp_kses_normalize_entities() to only accept valid Unicode numeric entities
|
* This function helps wp_kses_normalize_entities() to only accept valid Unicode numeric entities
|
||||||
* in hex form.
|
* in hex form.
|
||||||
*
|
*
|
||||||
|
* @access private
|
||||||
|
*
|
||||||
* @param array $matches preg_replace_callback() matches array
|
* @param array $matches preg_replace_callback() matches array
|
||||||
* @return string Correctly encoded entity
|
* @return string Correctly encoded entity
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user