Docs: Improve vague changelog entries for functions and hooks where arguments were deprecated in [35294].

See #31078. See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@35297 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-10-20 18:09:06 +00:00
parent 2f5c72fea8
commit e5ec034d8f
1 changed files with 9 additions and 8 deletions

View File

@ -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.
*