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:
parent
1e030c4062
commit
715bfc8664
@ -1777,7 +1777,7 @@ function wp_kses_bad_protocol_once2( $string, $allowed_protocols ) {
|
|||||||
* Converts and fixes HTML entities.
|
* Converts and fixes HTML entities.
|
||||||
*
|
*
|
||||||
* This function normalizes HTML entities. It will convert `AT&T` to the correct
|
* 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
|
* 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;`.
|
* example, `AT&T…&#XYZZY;` is converted to `AT&T…&#XYZZY;`.
|
||||||
|
Loading…
Reference in New Issue
Block a user