Changeset 22244 for trunk/wp-includes/query.php
- Timestamp:
- 10/16/2012 01:48:07 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r22238 r22244 2726 2726 2727 2727 if ( $this->is_preview && $this->posts && current_user_can( $edit_cap, $this->posts[0]->ID ) ) 2728 $this->posts[0] = apply_filters_ref_array('the_preview', array( $this->posts[0], &$this ));2728 $this->posts[0] = get_post( apply_filters_ref_array( 'the_preview', array( $this->posts[0], &$this ) ) ); 2729 2729 } 2730 2730
Note: See TracChangeset
for help on using the changeset viewer.