d78e4af7 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent ccd8868e
...@@ -61,7 +61,7 @@ function pull_posts_for_post_list( $data ) { ...@@ -61,7 +61,7 @@ function pull_posts_for_post_list( $data ) {
61 $img = get_post_meta($post->ID, 'photo_from_source', true); 61 $img = get_post_meta($post->ID, 'photo_from_source', true);
62 } 62 }
63 63
64 $new_posts[] = ['date'=>wp_date( ' F j, Y', get_post_timestamp($post->ID)), 64 $new_posts[] = ['date'=>date_i18n( ' F j, Y', get_post_timestamp($post->ID)),
65 'article_author'=>$article_author,'author_title'=>$author_title, 65 'article_author'=>$article_author,'author_title'=>$author_title,
66 'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title, 66 'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title,
67 'text'=>$excerpt,'img_src'=>$img]; 67 'text'=>$excerpt,'img_src'=>$img];
...@@ -116,7 +116,7 @@ function pull_posts_for_post_list( $data ) { ...@@ -116,7 +116,7 @@ function pull_posts_for_post_list( $data ) {
116 if(!$img) { 116 if(!$img) {
117 $img = get_post_meta($post->ID, 'photo_from_source', true); 117 $img = get_post_meta($post->ID, 'photo_from_source', true);
118 } 118 }
119 $posts[] = ['date'=>wp_date( ' F j, Y', get_post_timestamp($post->ID)), 119 $posts[] = ['date'=>date_i18n( ' F j, Y', get_post_timestamp($post->ID)),
120 'article_author'=>$article_author,'author_title'=>$author_title, 120 'article_author'=>$article_author,'author_title'=>$author_title,
121 'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title, 121 'author_company'=>$author_company,'href'=>get_permalink($post),'title'=>$post->post_title,
122 'text'=>$excerpt,'img_src'=>$img]; 122 'text'=>$excerpt,'img_src'=>$img];
......