diff --git a/templates/single-product-reviews.php b/templates/single-product-reviews.php index c67eb2600e8..4b287d5b76b 100644 --- a/templates/single-product-reviews.php +++ b/templates/single-product-reviews.php @@ -95,7 +95,7 @@ if ( ! comments_open() ) { $account_page_url = wc_get_page_permalink( 'myaccount' ); if ( $account_page_url ) { /* translators: %s opening and closing link tags respectively */ - $comment_form['must_log_in'] = '

' . sprintf( esc_html__( 'You must be %slogged in%S to post a review.', 'woocommerce' ), '', '' ) . '

'; + $comment_form['must_log_in'] = '

' . sprintf( esc_html__( 'You must be %1$slogged in%2$s to post a review.', 'woocommerce' ), '', '' ) . '

'; } if ( wc_review_ratings_enabled() ) {