Revert accidental fxn rename

git-svn-id: https://develop.svn.wordpress.org/trunk@11212 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-05-05 23:32:16 +00:00
parent 41692335a8
commit 7f510a5bfb
1 changed files with 3 additions and 3 deletions

View File

@ -415,7 +415,7 @@ function wp_kses_split($string, $allowed_html, $allowed_protocols) {
* *
* @access private * @access private
* @since 1.0.0 * @since 1.0.0
* @uses wp_kses_esc_attr() * @uses wp_kses_attr()
* *
* @param string $string Content to filter * @param string $string Content to filter
* @param array $allowed_html Allowed HTML elements * @param array $allowed_html Allowed HTML elements
@ -459,7 +459,7 @@ function wp_kses_split2($string, $allowed_html, $allowed_protocols) {
return "<$slash$elem>"; return "<$slash$elem>";
# No attributes are allowed for closing elements # 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 * @param array $allowed_protocols Allowed protocols to keep
* @return string Sanitized HTML element * @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? # Is there a closing XHTML slash at the end of the attributes?
$xhtml_slash = ''; $xhtml_slash = '';