Make WordPress Core

Changeset 49304


Ignore:
Timestamp:
10/25/2020 12:12:40 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct an example in wp_kses_normalize_entities() description.

Props ediamin.
Fixes #51620.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/kses.php

    r48573 r49304  
    17781778 *
    17791779 * This function normalizes HTML entities. It will convert `AT&T` to the correct
    1780  * `AT&T`, `:` to `:`, `&#XYZZY;` to `&#XYZZY;` and so on.
     1780 * `AT&T`, `:` to `:`, `&#XYZZY;` to `&#XYZZY;` and so on.
    17811781 *
    17821782 * When `$context` is set to 'xml', HTML entities are converted to their code points.  For
Note: See TracChangeset for help on using the changeset viewer.