Don't use `<a>` in translatable string in `theme-compat/comments.php`.
Add translator comments. Props ramiy. See #34503. Built from https://develop.svn.wordpress.org/trunk@35455 git-svn-id: http://core.svn.wordpress.org/trunk@35419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c342525d42
commit
d8f50fef8a
|
@ -7,7 +7,14 @@
|
|||
* This file is here for Backwards compatibility with old themes and will be removed in a future version
|
||||
*
|
||||
*/
|
||||
_deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.0', null, sprintf( __('Please include a %1$s template in your theme.'), basename(__FILE__) ) );
|
||||
_deprecated_file(
|
||||
/* translators: %s: template name */
|
||||
sprintf( __( 'Theme without %s' ), basename( __FILE__ ) ),
|
||||
'3.0',
|
||||
null,
|
||||
/* translators: %s: template name */
|
||||
sprintf( __( 'Please include a %s template in your theme.' ), basename( __FILE__ ) )
|
||||
);
|
||||
|
||||
// Do not delete these lines
|
||||
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']))
|
||||
|
@ -79,7 +86,9 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.
|
|||
|
||||
<?php if ( is_user_logged_in() ) : ?>
|
||||
|
||||
<p><?php printf(__('Logged in as <a href="%1$s">%2$s</a>.'), get_edit_user_link(), $user_identity); ?> <a href="<?php echo wp_logout_url(get_permalink()); ?>" title="<?php esc_attr_e('Log out of this account'); ?>"><?php _e('Log out »'); ?></a></p>
|
||||
<p><?php /* translators: %s: user profile link */
|
||||
printf( __( 'Logged in as %s.' ), sprintf( '<a href="%1$s">%2$s</a>', get_edit_user_link(), $user_identity ) ); ?>
|
||||
<a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="<?php esc_attr_e( 'Log out of this account' ); ?>"><?php _e( 'Log out »' ); ?></a></p>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.4-beta2-35454';
|
||||
$wp_version = '4.4-beta2-35455';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue