Make WordPress Core

Ticket #40575: 40575-3.patch

File 40575-3.patch, 1.4 KB (added by bor0, 9 years ago)
  • wp-includes/kses.php

     
    615615 * @global array $allowedtags
    616616 * @global array $allowedentitynames
    617617 *
    618  * @param string $context The context for which to retrieve tags.
    619  *                        Allowed values are post, strip, data,entities, or
    620  *                        the name of a field filter such as pre_user_description.
     618 * @param string|array $context The context for which to retrieve tags.
     619 *                              Allowed values are post, strip, data, entities, or
     620 *                              the name of a field filter such as pre_user_description.
    621621 * @return array List of allowed tags and their allowed attributes.
    622622 */
    623623function wp_kses_allowed_html( $context = '' ) {
     
    629629                 *
    630630                 * @since 3.5.0
    631631                 *
    632                  * @param string $tags    Allowed tags, attributes, and/or entities.
    633                  * @param string $context Context to judge allowed tags by. Allowed values are 'post',
    634                  *                        'data', 'strip', 'entities', 'explicit', or the name of a filter.
     632                 * @param array  $context      Context to judge allowed tags by.
     633                 * @param string $context_type Context type (explicit).
    635634                 */
    636635                return apply_filters( 'wp_kses_allowed_html', $context, 'explicit' );
    637636        }