Changeset 12062 for trunk/wp-includes/query.php
- Timestamp:
- 10/19/2009 09:28:44 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/query.php
r12052 r12062 2361 2361 $this->posts = apply_filters('the_posts', $this->posts); 2362 2362 2363 $this->post_count = count($this->posts); 2364 2365 // Sanitize before caching so it'll only get done once 2366 for ($i = 0; $i < $this->post_count; $i++) { 2367 $this->posts[$i] = sanitize_post($this->posts[$i], 'raw'); 2368 } 2369 2363 2370 update_post_caches($this->posts); 2364 2371 2365 $this->post_count = count($this->posts);2366 2372 if ($this->post_count > 0) { 2367 2373 $this->post = $this->posts[0];
Note: See TracChangeset
for help on using the changeset viewer.