mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Correct an example in wp_kses_normalize_entities() description.
Props ediamin. Fixes #51620. git-svn-id: https://develop.svn.wordpress.org/trunk@49304 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1777,7 +1777,7 @@ function wp_kses_bad_protocol_once2( $string, $allowed_protocols ) {
|
||||
* Converts and fixes HTML entities.
|
||||
*
|
||||
* This function normalizes HTML entities. It will convert `AT&T` to the correct
|
||||
* `AT&T`, `:` to `:`, `&#XYZZY;` to `&#XYZZY;` and so on.
|
||||
* `AT&T`, `:` to `:`, `&#XYZZY;` to `&#XYZZY;` and so on.
|
||||
*
|
||||
* When `$context` is set to 'xml', HTML entities are converted to their code points. For
|
||||
* example, `AT&T…&#XYZZY;` is converted to `AT&T…&#XYZZY;`.
|
||||
|
||||
Reference in New Issue
Block a user