Changeset 3856 for branches/2.0/wp-includes/functions-formatting.php
- Timestamp:
- 06/08/2006 03:21:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/functions-formatting.php
r3794 r3856 518 518 function zeroise($number,$threshold) { // function to add leading zeros when necessary 519 519 return sprintf('%0'.$threshold.'s', $number); 520 520 } 521 521 522 522 523 523 function backslashit($string) { 524 $string = preg_replace('/^([0-9])/', '\\\\\\\\\1', $string); 524 525 $string = preg_replace('/([a-z])/i', '\\\\\1', $string); 525 526 return $string;
Note: See TracChangeset
for help on using the changeset viewer.