Make WordPress Core

Ticket #30473: 30473.2.diff

File 30473.2.diff, 1.5 KB (added by DrewAPicture, 11 years ago)
  • src/wp-includes/kses.php

     
    11721172/**
    11731173 * Converts and fixes HTML entities.
    11741174 *
    1175  * This function normalizes HTML entities. It will convert "AT&T" to the correct
    1176  * "AT&T", ":" to ":", "&#XYZZY;" to "&#XYZZY;" and so on.
     1175 * This function normalizes HTML entities. It will convert `AT&T` to the correct
     1176 * `AT&T", ":" to ":", "&#XYZZY;" to "&#XYZZY;` and so on.
    11771177 *
    11781178 * @since 1.0.0
    11791179 *
     
    12181218/**
    12191219 * Callback for wp_kses_normalize_entities() regular expression.
    12201220 *
    1221  * This function helps wp_kses_normalize_entities() to only accept 16-bit values
    1222  * and nothing more for &#number; entities.
     1221 * This function helps {@see wp_kses_normalize_entities()} to only accept 16-bit
     1222 * values and nothing more for `&#number;` entities.
    12231223 *
    12241224 * @access private
    12251225 * @since 1.0.0
     
    12771277/**
    12781278 * Convert all entities to their character counterparts.
    12791279 *
    1280  * This function decodes numeric HTML entities (A and A). It doesn't do
    1281  * anything with other entities like ä, but we don't need them in the URL
    1282  * protocol whitelisting system anyway.
     1280 * This function decodes numeric HTML entities (`A` and `A`).
     1281 * It doesn't do anything with other entities like ä, but we don't
     1282 * need them in the URL protocol whitelisting system anyway.
    12831283 *
    12841284 * @since 1.0.0
    12851285 *