mirror of
git://develop.git.wordpress.org/
synced 2025-04-04 04:02:36 +02:00
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:
parent
2796abaf53
commit
9ab0f766e7
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user