Make WordPress Core

Ticket #35888: 35888.patch

File 35888.patch, 2.5 KB (added by ramiy, 9 years ago)
  • wp-includes/theme-compat/comments.php

     
    7272
    7373<div id="respond">
    7474
    75 <h3><?php comment_form_title( __('Leave a Reply'), __('Leave a Reply to %s' ) ); ?></h3>
     75<h3><?php /* translators: %s: comment author */
     76comment_form_title( __('Leave a Reply'), __('Leave a Reply to %s' ) ); ?></h3>
    7677
    7778<div id="cancel-comment-reply">
    7879        <small><?php cancel_comment_reply_link() ?></small>
     
    7980</div>
    8081
    8182<?php if ( get_option('comment_registration') && !is_user_logged_in() ) : ?>
    82 <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() )); ?></p>
     83<p><?php /* translators: %s: login url */
     84printf(__('You must be <a href="%s">logged in</a> to post a comment.'), wp_login_url( get_permalink() )); ?></p>
    8385<?php else : ?>
    8486
    8587<form action="<?php echo site_url(); ?>/wp-comments-post.php" method="post" id="commentform">
  • wp-includes/theme-compat/footer.php

     
    2121<div id="footer" role="contentinfo">
    2222<!-- If you'd like to support WordPress, having the "powered by" link somewhere on your blog is the best way; it's our only promotion or advertising. -->
    2323        <p>
    24                 <?php printf(__('%1$s is proudly powered by %2$s'), get_bloginfo('name'),
     24                <?php /* translators: 1: blog name, 2: WordPress */
     25                printf(__('%1$s is proudly powered by %2$s'), get_bloginfo('name'),
    2526                '<a href="https://wordpress.org/">WordPress</a>'); ?>
    26                 <br /><?php printf(__('%1$s and %2$s.'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)') . '</a>'); ?>
    27                 <!-- <?php printf(__('%d queries. %s seconds.'), get_num_queries(), timer_stop(0, 3)); ?> -->
     27                <br /><?php /* translators: 1: link to entries RSS, 2: link to comments RSS */
     28                printf(__('%1$s and %2$s.'), '<a href="' . get_bloginfo('rss2_url') . '">' . __('Entries (RSS)') . '</a>', '<a href="' . get_bloginfo('comments_rss2_url') . '">' . __('Comments (RSS)') . '</a>'); ?>
     29                <!-- <?php /* translators: %d: number of queries, %s: seconds */
     30                printf(__('%d queries. %s seconds.'), get_num_queries(), timer_stop(0, 3)); ?> -->
    2831        </p>
    2932</div>
    3033</div>