From 44777c33524f35b2255d12d35529fdf507ccfda2 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 5 May 2009 23:32:16 +0000 Subject: [PATCH] Revert accidental fxn rename git-svn-id: http://svn.automattic.com/wordpress/trunk@11212 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/kses.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 0d957b31bc..634cd4931e 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -415,7 +415,7 @@ function wp_kses_split($string, $allowed_html, $allowed_protocols) { * * @access private * @since 1.0.0 - * @uses wp_kses_esc_attr() + * @uses wp_kses_attr() * * @param string $string Content to filter * @param array $allowed_html Allowed HTML elements @@ -459,7 +459,7 @@ function wp_kses_split2($string, $allowed_html, $allowed_protocols) { return "<$slash$elem>"; # No attributes are allowed for closing elements - return wp_kses_esc_attr("$slash$elem", $attrlist, $allowed_html, $allowed_protocols); + return wp_kses_attr("$slash$elem", $attrlist, $allowed_html, $allowed_protocols); } /** @@ -479,7 +479,7 @@ function wp_kses_split2($string, $allowed_html, $allowed_protocols) { * @param array $allowed_protocols Allowed protocols to keep * @return string Sanitized HTML element */ -function wp_kses_esc_attr($element, $attr, $allowed_html, $allowed_protocols) { +function wp_kses_attr($element, $attr, $allowed_html, $allowed_protocols) { # Is there a closing XHTML slash at the end of the attributes? $xhtml_slash = '';