diff --git a/wp-includes/kses.php b/wp-includes/kses.php index 41dc7f2d94..c95b0179f2 100644 --- a/wp-includes/kses.php +++ b/wp-includes/kses.php @@ -615,9 +615,9 @@ function wp_kses_one_attr( $string, $element ) { * @global array $allowedtags * @global array $allowedentitynames * - * @param string $context The context for which to retrieve tags. - * Allowed values are post, strip, data,entities, or - * the name of a field filter such as pre_user_description. + * @param string|array $context The context for which to retrieve tags. + * Allowed values are post, strip, data, entities, or + * the name of a field filter such as pre_user_description. * @return array List of allowed tags and their allowed attributes. */ function wp_kses_allowed_html( $context = '' ) { @@ -629,9 +629,8 @@ function wp_kses_allowed_html( $context = '' ) { * * @since 3.5.0 * - * @param string $tags Allowed tags, attributes, and/or entities. - * @param string $context Context to judge allowed tags by. Allowed values are 'post', - * 'data', 'strip', 'entities', 'explicit', or the name of a filter. + * @param array $context Context to judge allowed tags by. + * @param string $context_type Context type (explicit). */ return apply_filters( 'wp_kses_allowed_html', $context, 'explicit' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3f6ae91678..6195613ade 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-40949'; +$wp_version = '4.9-alpha-40950'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.