Changes from branches/2.9/wp-includes/query.php at r13117 to trunk/wp-includes/query.php at r12409
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r13117 r12409 2281 2281 $this->posts = array(); 2282 2282 } else { 2283 if (in_array($status, array('draft', 'pending' , 'trash')) ) {2283 if (in_array($status, array('draft', 'pending')) ) { 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.