Changes from trunk/wp-includes/query.php at r12409 to branches/2.9/wp-includes/query.php at r13117
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.9/wp-includes/query.php
r12409 r13117 2281 2281 $this->posts = array(); 2282 2282 } else { 2283 if (in_array($status, array('draft', 'pending' )) ) {2283 if (in_array($status, array('draft', 'pending', 'trash')) ) { 2284 2284 // User must have edit permissions on the draft to preview. 2285 2285 if (! current_user_can("edit_$post_type_cap", $this->posts[0]->ID)) {
Note: See TracChangeset
for help on using the changeset viewer.