Changeset 2281
- Timestamp:
- 02/12/05 05:25:09 (4 years ago)
- Files:
-
- trunk/wp-includes/functions-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/functions-post.php
r2269 r2281 85 85 } 86 86 87 $sql = "SELECT * FROM $wpdb->posts ORDER BY post_date DESC $limit";87 $sql = "SELECT * FROM $wpdb->posts WHERE post_status IN ('publish', 'draft', 'private') ORDER BY post_date DESC $limit"; 88 88 $result = $wpdb->get_results($sql,ARRAY_A); 89 89
