Changeset 3523
- Timestamp:
- 02/13/06 07:04:14 (3 years ago)
- Files:
-
- trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions.php
r3522 r3523 666 666 function get_page_by_path($page_path) { 667 667 global $wpdb; 668 669 $page_path = str_replace('%2F', '/', urlencode(urldecode($page_path))); 668 $page_path = rawurlencode(urldecode($page_path)); 669 $page_path = str_replace('%2F', '/', $page_path); 670 $page_path = str_replace('%20', ' ', $page_path); 670 671 $page_paths = '/' . trim($page_path, '/'); 671 672 $leaf_path = sanitize_title(basename($page_paths));
