mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-12 13:44:21 +01:00
Fix item count in wp_sprintf_l(). Props abelcheung. fixes #9847
git-svn-id: http://svn.automattic.com/wordpress/trunk@11394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6037ecb9a7
commit
46c5f5b84c
@ -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…
Reference in New Issue
Block a user