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:
parent
09b9fae4db
commit
b5b3b0b913
|
@ -1091,12 +1091,20 @@ 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();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue