Make WordPress Core


Ignore:
Timestamp:
09/18/2015 06:35:16 PM (11 years ago)
Author:
wonderboymusic
Message:

Don't use HTML tags in translation strings for "In Reply To" links for comments in the admin.

Props ramiy.
Fixes #31857.

File:
1 edited

Legend:

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

    r34130 r34297  
    183183                        $parent_link = esc_url( get_comment_link( $parent ) );
    184184                        $name        = get_comment_author( $parent );
    185                         printf( ' | ' . __( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );
     185                        printf(
     186                                /* translators: comment link */
     187                                ' | ' . __( 'In reply to %s.' ),
     188                                '<a href="' . $parent_link . '">' . $name . '</a>'
     189                        );
    186190                }
    187191        ?>
Note: See TracChangeset for help on using the changeset viewer.