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
This commit is contained in:
Jb Audras 2022-02-08 16:23:54 +00:00
parent 2796abaf53
commit 9ab0f766e7

View File

@ -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.