From 0a1026ac1037955eeebf7f29ed20c64ac4e4a98c Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Tue, 20 Oct 2015 18:10:43 +0000 Subject: [PATCH] Docs: Improve vague changelog entries for functions and hooks where arguments were deprecated in [35294]. See #31078. See #32246. Built from https://develop.svn.wordpress.org/trunk@35297 git-svn-id: http://core.svn.wordpress.org/trunk@35263 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/feed.php | 17 +++++++++-------- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/wp-includes/feed.php b/wp-includes/feed.php index 8b2e88c35d..7d585f1136 100644 --- a/wp-includes/feed.php +++ b/wp-includes/feed.php @@ -91,9 +91,9 @@ function get_default_feed() { * Retrieve the blog title for the feed title. * * @since 2.2.0 - * @since 4.4.0 Deprecated argument. + * @since 4.4.0 The optional `$sep` parameter was deprecated and renamed to `$deprecated`. * - * @param string $deprecated Deprecated. + * @param string $deprecated Unused.. * @return string The document title. */ function get_wp_title_rss( $deprecated = '–' ) { @@ -105,10 +105,10 @@ function get_wp_title_rss( $deprecated = '–' ) { * Filter the blog title for use as the feed title. * * @since 2.2.0 - * @since 4.4.0 Deprecated argument. + * @since 4.4.0 The `$sep` parameter was deprecated and renamed to `$deprecated`. * * @param string $title The current blog title. - * @param string $deprecated Deprecated. + * @param string $deprecated Unused. */ return apply_filters( 'get_wp_title_rss', wp_get_document_title(), $deprecated ); } @@ -117,9 +117,9 @@ function get_wp_title_rss( $deprecated = '–' ) { * Display the blog title for display of the feed title. * * @since 2.2.0 - * @since 4.4.0 Deprecated argument. + * @since 4.4.0 The optional `$sep` parameter was deprecated and renamed to `$deprecated`. * - * @param string $deprecated Optional. + * @param string $deprecated Unused. */ function wp_title_rss( $deprecated = '–' ) { if ( '–' !== $deprecated ) { @@ -130,12 +130,12 @@ function wp_title_rss( $deprecated = '–' ) { * Filter the blog title for display of the feed title. * * @since 2.2.0 - * @since 4.4.0 Deprecated argument. + * @since 4.4.0 The `$sep` parameter was deprecated and renamed to `$deprecated`. * * @see get_wp_title_rss() * * @param string $wp_title_rss The current blog title. - * @param string $deprecated Deprecated. + * @param string $deprecated Unused. */ echo apply_filters( 'wp_title_rss', get_wp_title_rss(), $deprecated ); } @@ -149,6 +149,7 @@ function wp_title_rss( $deprecated = '–' ) { */ function get_the_title_rss() { $title = get_the_title(); + /** * Filter the post title for use in a feed. * diff --git a/wp-includes/version.php b/wp-includes/version.php index 534b56aa36..030d8f72fd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-35296'; +$wp_version = '4.4-alpha-35297'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.