Ticket #22448: 22448.diff
| File 22448.diff, 483 bytes (added by , 13 years ago) |
|---|
-
wp-includes/post.php
581 581 wp_cache_add( $_post->ID, $_post, 'posts' ); 582 582 } 583 583 584 // Sanitize the post if it has not been satized. 585 if ( empty( $_post->filter ) ) { 586 $_post = sanitize_post( $_post, 'raw' ); 587 wp_cache_set( $_post->ID, $_post, 'posts' ); 588 } 589 584 590 return new WP_Post( $_post ); 585 591 } 586 592