From eb158d65c7b3f982c5b58d00da1af4e5f3bd4206 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 19 Dec 2015 08:58:25 +0000 Subject: [PATCH] Docs: Add missing parameter and return notations to the DocBlock for the deprecated `wp_specialchars()` function. See #32246. Built from https://develop.svn.wordpress.org/trunk@36026 git-svn-id: http://core.svn.wordpress.org/trunk@35991 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/deprecated.php | 8 +++++++- wp-includes/version.php | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index e95c7873e5..39f3e43802 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2048,10 +2048,16 @@ function js_escape( $text ) { } /** - * Escaping for HTML blocks. + * Legacy escaping for HTML blocks. * * @deprecated 2.8.0 Use esc_html() * @see esc_html() + * + * @param string $string String to escape. + * @param string $quote_style Unused. + * @param false|string $charset Unused. + * @param false $double_encode Whether to double encode. Unused. + * @return string Escaped `$string`. */ function wp_specialchars( $string, $quote_style = ENT_NOQUOTES, $charset = false, $double_encode = false ) { _deprecated_function( __FUNCTION__, '2.8', 'esc_html()' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 16b23713ff..83518a325a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-36025'; +$wp_version = '4.5-alpha-36026'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.