Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847

git-svn-id: https://develop.svn.wordpress.org/trunk@11394 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-05-19 15:36:01 +00:00
parent 0b914e524c
commit 9d6af24e2b
1 changed files with 1 additions and 1 deletions

View File

@ -2480,7 +2480,7 @@ function wp_sprintf_l($pattern, $args) {
while ( $i ) {
$arg = array_shift($args);
$i--;
if ( $i == 1 )
if ( 0 == $i )
$result .= $l['between_last_two'] . $arg;
else
$result .= $l['between'] . $arg;