Changeset 2191
- Timestamp:
- 02/01/2005 08:35:45 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r2190 r2191 300 300 $where .= " AND post_name = '" . $q['name'] . "'"; 301 301 } else if ('' != $q['pagename']) { 302 $q['pagename'] = sanitize_title(basename( $q['pagename']));302 $q['pagename'] = sanitize_title(basename(str_replace('%2F', '/', urlencode($q['pagename'])))); 303 303 $q['name'] = $q['pagename']; 304 304 $where .= " AND post_name = '" . $q['pagename'] . "'";
Note: See TracChangeset
for help on using the changeset viewer.