Make WordPress Core


Ignore:
Timestamp:
09/20/2015 02:46:42 AM (10 years ago)
Author:
wonderboymusic
Message:

Theme Compat: Avoid using HTML tags in translation strings.

Props ramiy.
Fixes #31867.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/theme-compat/comments-popup.php

    r34041 r34342  
    3636
    3737<?php if ( pings_open() ) { ?>
    38 <p><?php printf(__('The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: <em>%s</em>'), get_trackback_url()); ?></p>
     38<p><?php printf( __( 'The <abbr title="Universal Resource Locator">URL</abbr> to TrackBack this entry is: %s' ), '<em>' . get_trackback_url() . '</em>' ); ?></p>
    3939<?php } ?>
    4040
     
    6464<?php if ( comments_open() ) { ?>
    6565<h2><?php _e('Leave a comment'); ?></h2>
    66 <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>
     66<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>
    6767
    6868<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
Note: See TracChangeset for help on using the changeset viewer.