diff --git a/admin-ui.php b/admin-ui.php index b089663..33e0de3 100644 --- a/admin-ui.php +++ b/admin-ui.php @@ -556,6 +556,7 @@ function fwp_syndication_manage_page_links_table_rows( $links, $page, $visible =
Force Updating feeds.
"; + add_filter('syndicated_item_force_update', '__return_true'); + endif; + return $update_set; } @@ -858,6 +872,7 @@ function display_button_bar( $showInactive ) { + diff --git a/syndicatedpost.class.php b/syndicatedpost.class.php index 6548aef..e76629b 100644 --- a/syndicatedpost.class.php +++ b/syndicatedpost.class.php @@ -1303,6 +1303,11 @@ function freshness ($format = 'number') { .')' ); + elseif (apply_filters('syndicated_item_force_update', false, $this->item, $old_post)) : + $updated = true; + $updatedReason = ' is being force updated'; + $live = true; + // The date does not indicate a new revision, so // let's check the hash. else :