Changeset 8185
- Timestamp:
- 06/24/2008 05:49:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r7941 r8185 929 929 $q['pagename'] = sanitize_title(basename($page_paths)); 930 930 $q['name'] = $q['pagename']; 931 $where .= " AND ( ID = '$reqpage')";931 $where .= " AND ($wpdb->posts.ID = '$reqpage')"; 932 932 $reqpage_obj = get_page($reqpage); 933 933 if ( 'attachment' == $reqpage_obj->post_type ) {
Note: See TracChangeset
for help on using the changeset viewer.