Skip to content

Commit

Permalink
Fixing the use of the filter syndicated_item_updated, so its return…
Browse files Browse the repository at this point in the history
…ed value is actually used
  • Loading branch information
oppiansteve committed Nov 5, 2019
1 parent 67b6c5a commit 5b3ada9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syndicatedpost.class.php
Expand Up @@ -557,7 +557,7 @@ public function updated ($params = array(), $default = -1) {
endif;

if (!$unfiltered) :
apply_filters('syndicated_item_updated', $ts, $this);
$ts = apply_filters('syndicated_item_updated', $ts, $this);
endif;
return $ts;
} /* SyndicatedPost::updated() */
Expand Down

0 comments on commit 5b3ada9

Please sign in to comment.