WordPress.org

Make WordPress Core

Changeset 32801


Ignore:
Timestamp:
06/16/2015 08:07:14 PM (6 years ago)
Author:
wonderboymusic
Message:

Avoid using HTML in translation strings in edit-form-comment.php.

Fixes #31847.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-form-comment.php

    r32796 r32801  
    113113
    114114<div class="misc-pub-section misc-pub-response-to">
    115     <?php printf( __( 'In response to: <b>%s</b>' ), $post_link ); ?>
     115    <?php printf(
     116        /* translators: post link */
     117        __( 'In response to: %s' ),
     118        '<b>' . $post_link . '</b>'
     119    ); ?>
    116120</div>
    117121
     
    123127?>
    124128<div class="misc-pub-section misc-pub-reply-to">
    125     <?php printf( __( 'In reply to: <b><a href="%1$s">%2$s</a></b>' ), $parent_link, $name ); ?>
     129    <?php printf(
     130        /* translators: comment link */
     131        __( 'In reply to: %s' ),
     132        '<b><a href="' . $parent_link . '">' . $name . '</a></b>'
     133    ); ?>
    126134</div>
    127135<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.