Revert accidental fxn rename

git-svn-id: http://svn.automattic.com/wordpress/trunk@11212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-05 23:32:16 +00:00
parent 9ae6f72acd
commit 44777c3352

View File

@ -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 = '';