mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-12-03 19:41:39 +00: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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user