-
Notifications
You must be signed in to change notification settings - Fork 10.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra argument in emails/customer-new-account.php #4802
Comments
Mistaken I think:
There are 2 %s |
Hello Mike - I just added a follow-up comment to issue #4802 which you closed. Issue: I’m referring to line #18 in emails/customer-new-account.php which is this line, seems to have only 1 %s but 2 arguments (blogname, user_pass): %s", 'woocommerce' ), esc_html( $blogname ), esc_html( $user_pass ) ); ?> Thanks for your help, |
In WC2.1.2: A very minor issue in the HTML email templates:
In the file "emails/customer-new-account.php"" on line #18 there are 2 arguments specified but only the 1st is used in the printf output. Seems the 1st argument "esc_html( $blogname )" should be removed as the 2nd one is intended for the printf output (perhaps line #18 was modeled after line #14 where both arguments are utilized, but the blogname isn't needed on line 18).
Note: the corresponding plain email template file "emails/plain/customer-new-account.php" is fine.
The text was updated successfully, but these errors were encountered: