Fix printf in customer new account email Closes #4802

This commit is contained in:
Mike Jolley 2014-02-14 15:50:30 +00:00 committed by Coen Jacobs
parent 57f7aeaa0c
commit 2fb6030e52
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
<?php if ( get_option( 'woocommerce_registration_generate_password' ) == 'yes' && $password_generated ) : ?>
<p><?php printf( __( "Your password has been automatically generated: <strong>%s</strong>", 'woocommerce' ), esc_html( $blogname ), esc_html( $user_pass ) ); ?></p>
<p><?php printf( __( "Your password has been automatically generated: <strong>%s</strong>", 'woocommerce' ), esc_html( $user_pass ) ); ?></p>
<?php endif; ?>