Docs: Add translator comments for two `_deprecated_argument()` calls added to `get_wp_title_rss()` and `wp_title_rss()` in [35294].

See #31078. See #32246.

Built from https://develop.svn.wordpress.org/trunk@35303


git-svn-id: http://core.svn.wordpress.org/trunk@35269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-10-20 19:20:25 +00:00
parent 6d9d18315d
commit 8549e76d56
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,7 @@ function get_default_feed() {
*/
function get_wp_title_rss( $deprecated = '–' ) {
if ( '–' !== $deprecated ) {
/* translators: 1: 'document_title_separator' filter name */
_deprecated_argument( __FUNCTION__, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) );
}
@ -123,6 +124,7 @@ function get_wp_title_rss( $deprecated = '&#8211;' ) {
*/
function wp_title_rss( $deprecated = '&#8211;' ) {
if ( '&#8211;' !== $deprecated ) {
/* translators: 1: 'document_title_separator' filter name */
_deprecated_argument( __FUNCTION__, '4.4.0', sprintf( __( 'Use the %s filter instead.' ), '<code>document_title_separator</code>' ) );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-alpha-35302';
$wp_version = '4.4-alpha-35303';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.