Skip to content

Commit 4869fda

Browse files
committed
Add translator comment
1 parent 68ea6da commit 4869fda

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

theme/oauth2-authorize.php

+10-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,16 @@
5757

5858
<form name="oauth2_authorize_form" id="oauth2_authorize_form" action="<?php echo esc_url( $url ); ?>" method="post">
5959

60-
<h2 class="login-title"><?php echo esc_html( sprintf( __( 'Connect %1$s', 'oauth2' ), $client->get_name() ) ) ?></h2>
60+
<?php
61+
printf(
62+
'<h2 class="login-title">%s</h2>',
63+
esc_html( sprintf(
64+
/* translators: %1$s: client name */
65+
__( 'Connect %1$s', 'oauth2' ),
66+
$client->get_name()
67+
) )
68+
);
69+
?>
6170

6271
<div class="login-info">
6372

0 commit comments

Comments
 (0)