Remove `<code>` tag from translatable string in `trackback_url()`.

Add translator commment.

Props ramiy.
Fixes #34573.
Built from https://develop.svn.wordpress.org/trunk@35546


git-svn-id: http://core.svn.wordpress.org/trunk@35510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2015-11-05 23:39:25 +00:00
parent 09b9fae4db
commit b5b3b0b913
2 changed files with 13 additions and 5 deletions

View File

@ -1091,13 +1091,21 @@ function get_trackback_url() {
* for the result instead.
*/
function trackback_url( $deprecated_echo = true ) {
if ( $deprecated_echo !== true )
_deprecated_argument( __FUNCTION__, '2.5', __('Use <code>get_trackback_url()</code> instead if you do not want the value echoed.') );
if ( $deprecated_echo )
if ( true !== $deprecated_echo ) {
_deprecated_argument( __FUNCTION__, '2.5',
/* translators: %s: get_trackback_url() */
sprintf( __( 'Use %s instead if you do not want the value echoed.' ),
'<code>get_trackback_url()</code>'
)
);
}
if ( $deprecated_echo ) {
echo get_trackback_url();
else
} else {
return get_trackback_url();
}
}
/**
* Generate and display the RDF for the trackback information of current post.

View File

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