Make WordPress Core

Ticket #40575: 40575-2.patch

File 40575-2.patch, 944 bytes (added by bor0, 9 years ago)
  • wp-includes/kses.php

     
    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 string $allowedtags 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.
    635635                 */
    636                 return apply_filters( 'wp_kses_allowed_html', $context, 'explicit' );
     636                return apply_filters( 'wp_kses_allowed_html', $allowedtags, 'explicit' );
    637637        }
    638638
    639639        switch ( $context ) {