Changeset 5020 for trunk/wp-includes/formatting.php
- Timestamp:
- 03/10/2007 06:25:33 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/formatting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/formatting.php
r4990 r5020 564 564 565 565 function trailingslashit($string) { 566 if ( '/' != substr($string, -1)) {566 if ( '/' != substr($string, -1)) 567 567 $string .= '/'; 568 }569 568 return $string; 569 } 570 571 function untrailingslashit($string) { 572 return preg_replace('|/+$|', '', $string); 570 573 } 571 574
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)