Changeset 3297 for trunk/wp-includes/classes.php
- Timestamp:
- 12/13/2005 12:54:52 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r3293 r3297 644 644 $this->is_preview = true; 645 645 } 646 } else if ('private' == $status){647 if ( $this->posts[0]->post_author != $user_ID)646 } else { 647 if (! current_user_can('read_post', $this->posts[0]->ID)) 648 648 $this->posts = array(); 649 649 }
Note: See TracChangeset
for help on using the changeset viewer.