@@ -34,16 +34,16 @@ public function __construct( $post, $with_comments = false ) {
3434 if ( $ this ->name = $ this ->_id ) {
3535 $ this ->name = null ;
3636 }
37- $ this ->published = get_post_time ( DATE_W3C , false , $ post );
38- $ this ->updated = get_post_modified_time ( DATE_W3C , false , $ post );
39- $ content = get_the_content ( null , false , $ post );
37+ $ this ->published = get_post_time ( DATE_W3C , false , $ post );
38+ $ this ->updated = get_post_modified_time ( DATE_W3C , false , $ post );
39+ $ content = get_the_content ( null , false , $ post );
4040 if ( ! empty ( $ content ) ) {
4141 $ this ->content ['html ' ] = get_the_content ( null , false , $ post );
4242 $ this ->content ['value ' ] = wp_strip_all_tags ( $ this ->content ['html ' ] );
4343 }
44- $ this ->summary = get_the_excerpt ( $ post );
45- $ this ->url = get_permalink ( $ post );
46- $ this ->uid = get_permalink ( $ post );
44+ $ this ->summary = get_the_excerpt ( $ post );
45+ $ this ->url = get_permalink ( $ post );
46+ $ this ->uid = get_permalink ( $ post );
4747
4848 // Get a list of categories and extract their names
4949 $ post_categories = get_the_terms ( $ post ->ID , 'category ' );
0 commit comments