Changeset 14197 for trunk/wp-includes/functions.php
- Timestamp:
- 04/23/2010 04:10:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r14192 r14197 2020 2020 2021 2021 // safe mode fails with a trailing slash under certain PHP versions. 2022 $target = untrailingslashit($target);2022 $target = rtrim($target, '/'); // Use rtrim() instead of untrailingslashit to avoid formatting.php dependency. 2023 2023 if ( empty($target) ) 2024 2024 $target = '/';
Note: See TracChangeset
for help on using the changeset viewer.