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:
parent
9724c7cdbd
commit
11f4d7bb68
|
@ -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 = '–' ) {
|
|||
*/
|
||||
function 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>' ) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue