Changeset 22238
- Timestamp:
- 10/15/2012 08:42:57 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/query.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r22011 r22238 2775 2775 $this->post_count = count( $this->posts ); 2776 2776 2777 // Always sanitize2778 foreach ( $this->posts as $i => $post ) {2779 $this->posts[$i] = sanitize_post( $post, 'raw' );2780 }2777 // Ensure that any posts added/modified via one of the filters above are 2778 // of the type WP_Post and are filtered. 2779 if ( $this->posts ) 2780 $this->posts = array_map( 'get_post', $this->posts ); 2781 2781 2782 2782 if ( $q['cache_results'] )
Note: See TracChangeset
for help on using the changeset viewer.