From 8a927d319774763bd7f7b1cec33914d2a90564fd Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Wed, 23 Aug 2017 10:09:59 -0400 Subject: [PATCH 1/3] fix for expired string using sprintf (#1099) --- inc/commonstrings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/commonstrings.php b/inc/commonstrings.php index 52a2f33ef..86821a4a1 100644 --- a/inc/commonstrings.php +++ b/inc/commonstrings.php @@ -50,7 +50,7 @@ private function __construct() { __( ' Need a license key?', 'all-in-one-seo-pack' ); __( 'Purchase one now', 'all-in-one-seo-pack' ); __( "There is a new version of %s available. Go to the plugins page for details.", 'all-in-one-seo-pack' ); - __( "Your license has expired. Please %1$s click here %2$s to purchase a new one.", 'all-in-one-seo-pack' ); + sprintf( __( 'Your license has expired. Please %1$s click here %2$s to purchase a new one', 'all-in-one-seo-pack' ), '', '' ); __( 'Manage Licenses', 'all-in-one-seo-pack' ); __( 'License Key is not set yet or invalid. ', 'all-in-one-seo-pack' ); __( ' Need a license key?', 'all-in-one-seo-pack' ); From 05f708315bbcd1a333a63f98b4a533737447dfe4 Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Wed, 23 Aug 2017 10:42:57 -0400 Subject: [PATCH 2/3] 2.3.16 - added missing period (#1101) * fix for expired string using sprintf * Add period to string * fix adding of period to string --- inc/commonstrings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/commonstrings.php b/inc/commonstrings.php index 86821a4a1..4250640b8 100644 --- a/inc/commonstrings.php +++ b/inc/commonstrings.php @@ -50,7 +50,7 @@ private function __construct() { __( ' Need a license key?', 'all-in-one-seo-pack' ); __( 'Purchase one now', 'all-in-one-seo-pack' ); __( "There is a new version of %s available. Go to the plugins page for details.", 'all-in-one-seo-pack' ); - sprintf( __( 'Your license has expired. Please %1$s click here %2$s to purchase a new one', 'all-in-one-seo-pack' ), '', '' ); + sprintf( __( 'Your license has expired. Please %1$s click here %2$s to purchase a new one.', 'all-in-one-seo-pack' ), '', '' ); __( 'Manage Licenses', 'all-in-one-seo-pack' ); __( 'License Key is not set yet or invalid. ', 'all-in-one-seo-pack' ); __( ' Need a license key?', 'all-in-one-seo-pack' ); From 78c515bbe689bee6e1a5206ddbb46668c17ed3b8 Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Wed, 23 Aug 2017 17:19:02 -0400 Subject: [PATCH 3/3] add period to string * fix for expired string using sprintf * Add period to string * fix adding of period to string