From 9ab0f766e73eb93896f684ff8961f6067836466b Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 8 Feb 2022 16:23:54 +0000 Subject: [PATCH] Docs: Fix an error in `wp_kses_attr()` docblock. Props kebbet. See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@52693 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/kses.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 807eb45e34..2a197e200b 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -1140,7 +1140,7 @@ function wp_kses_split2( $string, $allowed_html, $allowed_protocols ) { * Removes all attributes, if none are allowed for this element. * * If some are allowed it calls `wp_kses_hair()` to split them further, and then - * it builds up new HTML code from the data that `kses_hair()` returns. It also + * it builds up new HTML code from the data that `wp_kses_hair()` returns. It also * removes `<` and `>` characters, if there are any left. One more thing it does * is to check if the tag has a closing XHTML slash, and if it does, it puts one * in the returned code as well.