Skip to content

Commit

Permalink
Use numbered placeholders in comments-error.php to comply with them…
Browse files Browse the repository at this point in the history
…e repo rules, even though this is a false-positive in this case. We can rely on translators to handle this correctly.
  • Loading branch information
justintadlock committed Jan 8, 2018
1 parent 2756558 commit ddbca08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions misc/comments-error.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

<p class="comments-closed pings-open">
<?php
// Translators: The two %s are placeholders for HTML. The order can't be changed.
printf( __( 'Comments are closed, but %strackbacks%s and pingbacks are open.', 'stargazer' ), '<a href="' . esc_url( get_trackback_url() ) . '">', '</a>' );
// Translators: 1 and 2 are placeholders for HTML. The order can't be changed.
printf( __( 'Comments are closed, but %1$strackbacks%2$s and pingbacks are open.', 'stargazer' ), '<a href="' . esc_url( get_trackback_url() ) . '">', '</a>' );
?>
</p><!-- .comments-closed .pings-open -->

Expand Down

0 comments on commit ddbca08

Please sign in to comment.