Changeset 13118 for trunk/wp-includes/query.php
- Timestamp:
- 02/13/2010 07:05:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13089 r13118 2303 2303 $this->posts = array(); 2304 2304 } else { 2305 if (in_array($status, array('draft', 'pending' )) ) {2305 if (in_array($status, array('draft', 'pending', 'trash')) ) { 2306 2306 // User must have edit permissions on the draft to preview. 2307 2307 if (! current_user_can("edit_$post_type_cap", $this->posts[0]->ID)) {
Note: See TracChangeset
for help on using the changeset viewer.