mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 02:22:25 +01:00
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:
parent
0b914e524c
commit
9d6af24e2b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user