Ticket #37316: 37316.diff
File 37316.diff, 499 bytes (added by , 7 years ago) |
---|
-
src/wp-includes/class-wp-post.php
diff --git a/src/wp-includes/class-wp-post.php b/src/wp-includes/class-wp-post.php index 5904e58..4d7a4e7 100644
a b final class WP_Post { 223 223 return false; 224 224 225 225 $_post = sanitize_post( $_post, 'raw' ); 226 $_post = apply_filters( 'the_post_instance', $_post ); 226 227 wp_cache_add( $_post->ID, $_post, 'posts' ); 227 228 } elseif ( empty( $_post->filter ) ) { 228 229 $_post = sanitize_post( $_post, 'raw' );