Skip to content
Permalink
Browse files

Merge pull request #47 from tristanleboss/master

Update syndicatedpost.class.php
  • Loading branch information...
radgeek committed Jul 14, 2018
2 parents 381ad20 + cc737e7 commit 999ad912bbf9dc97a4184554e555b483a60bb081
Showing with 3 additions and 1 deletion.
  1. +3 −1 syndicatedpost.class.php
@@ -1244,7 +1244,9 @@ function freshness ($format = 'number') {
$old_post = NULL;
if ($q->have_posts()) :
while ($q->have_posts()) : $q->the_post();
$old_post = $q->post;
if (get_post_type($q->post->ID) == $this->post['post_type']):
$old_post = $q->post;
endif;
endwhile;
endif;

0 comments on commit 999ad91

Please sign in to comment.
You can’t perform that action at this time.