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.


git-svn-id: https://develop.svn.wordpress.org/trunk@35303 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2015-10-20 19:19:37 +00:00
parent 9724c7cdbd
commit 11f4d7bb68
1 changed files with 2 additions and 0 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>' ) );
}