Changeset 3855 for trunk/wp-includes/functions-formatting.php
- Timestamp:
- 06/08/2006 03:17:01 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-formatting.php
r3795 r3855 522 522 function zeroise($number,$threshold) { // function to add leading zeros when necessary 523 523 return sprintf('%0'.$threshold.'s', $number); 524 524 } 525 525 526 526 527 527 function backslashit($string) { 528 $string = preg_replace('/^([0-9])/', '\\\\\\\\\1', $string); 528 529 $string = preg_replace('/([a-z])/i', '\\\\\1', $string); 529 530 return $string;
Note: See TracChangeset
for help on using the changeset viewer.