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
This commit is contained in:
parent
08f3a3b226
commit
0a1026ac10
|
@ -91,9 +91,9 @@ function get_default_feed() {
|
||||||
* Retrieve the blog title for the feed title.
|
* Retrieve the blog title for the feed title.
|
||||||
*
|
*
|
||||||
* @since 2.2.0
|
* @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.
|
* @return string The document title.
|
||||||
*/
|
*/
|
||||||
function get_wp_title_rss( $deprecated = '–' ) {
|
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.
|
* Filter the blog title for use as the feed title.
|
||||||
*
|
*
|
||||||
* @since 2.2.0
|
* @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 $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 );
|
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.
|
* Display the blog title for display of the feed title.
|
||||||
*
|
*
|
||||||
* @since 2.2.0
|
* @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 = '–' ) {
|
function wp_title_rss( $deprecated = '–' ) {
|
||||||
if ( '–' !== $deprecated ) {
|
if ( '–' !== $deprecated ) {
|
||||||
|
@ -130,12 +130,12 @@ function wp_title_rss( $deprecated = '–' ) {
|
||||||
* Filter the blog title for display of the feed title.
|
* Filter the blog title for display of the feed title.
|
||||||
*
|
*
|
||||||
* @since 2.2.0
|
* @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()
|
* @see get_wp_title_rss()
|
||||||
*
|
*
|
||||||
* @param string $wp_title_rss The current blog title.
|
* @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 );
|
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() {
|
function get_the_title_rss() {
|
||||||
$title = get_the_title();
|
$title = get_the_title();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the post title for use in a feed.
|
* Filter the post title for use in a feed.
|
||||||
*
|
*
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue