Theme Compat: Avoid using HTML tags in translation strings.

Props ramiy.	
Fixes #31867.


git-svn-id: https://develop.svn.wordpress.org/trunk@34342 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-09-20 02:46:42 +00:00
parent d624c118cb
commit 067af6b9aa

View File

@ -35,7 +35,7 @@ while( have_posts()) : the_post();
<p><a href="<?php echo esc_url( get_post_comments_feed_link($post->ID) ); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr> feed for comments on this post.'); ?></a></p>
<?php if ( pings_open() ) { ?>
<p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>'), get_trackback_url()); ?></p>
<p><?php printf( __( 'The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: %s' ), '<em>' . get_trackback_url() . '</em>' ); ?></p>
<?php } ?>
<?php
@ -63,7 +63,7 @@ if ( post_password_required($post) ) { // and it doesn't match the cookie
<?php if ( comments_open() ) { ?>
<h2><?php _e('Leave a comment'); ?></h2>
<p><?php printf(__('Line and paragraph breaks automatic, email address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: <code>%s</code>'), allowed_tags()); ?></p>
<p><?php printf( __( 'Line and paragraph breaks automatic, e-mail address never displayed, <acronym title="Hypertext Markup Language">HTML</acronym> allowed: %s' ), '<code>' . allowed_tags() . '</code>' ); ?></p>
<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
<?php if ( $user_ID ) : ?>