Mistake numbering in sprintf

change %3$s to %2$s
This commit is contained in:
Shohei Tanaka 2016-12-23 20:50:40 +09:00 committed by GitHub
parent ade5574d98
commit 79686dbd8a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ if ( ! defined( 'ABSPATH' ) ) {
echo "= " . $email_heading . " =\n\n";
if ( $order->has_status( 'pending' ) ) {
echo sprintf( __( 'An order has been created for you on %1$s. To pay for this order please use the following link: %3$s', 'woocommerce' ), get_bloginfo( 'name', 'display' ), $order->get_checkout_payment_url() ) . "\n\n";
echo sprintf( __( 'An order has been created for you on %1$s. To pay for this order please use the following link: %2$s', 'woocommerce' ), get_bloginfo( 'name', 'display' ), $order->get_checkout_payment_url() ) . "\n\n";
}
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";