Ticket #19779: 19779-2.diff
| File 19779-2.diff, 399 bytes (added by , 14 years ago) |
|---|
-
wp-admin/includes/post.php
973 973 } 974 974 975 975 function _edit_attachments_query_helper($where) { 976 return $where .= ' AND post_parent < 1'; 976 global $wpdb; 977 return $where .= " AND {$wpdb->posts}.post_parent < 1"; 977 978 } 978 979 979 980 /**