Ticket #18854: zeroise-doc-error.diff

File zeroise-doc-error.diff, 614 bytes (added by trepmal, 20 months ago)
Line 
1Index: wp-includes/formatting.php
2===================================================================
3--- wp-includes/formatting.php  (revision 18873)
4+++ wp-includes/formatting.php  (working copy)
5@@ -1148,7 +1148,7 @@
6  * Add leading zeros when necessary.
7  *
8  * If you set the threshold to '4' and the number is '10', then you will get
9- * back '0010'. If you set the number to '4' and the number is '5000', then you
10+ * back '0010'. If you set the threshold to '4' and the number is '5000', then you
11  * will get back '5000'.
12  *
13  * Uses sprintf to append the amount of zeros based on the $threshold parameter