Skip to content
Snippets Groups Projects
Commit 45094963 authored by Mohammad Jangda's avatar Mohammad Jangda
Browse files

Don't skip the processing of the feed if posts are empty because we end up...

Don't skip the processing of the feed if posts are empty because we end up skipping some additional processing that needs to happen (like setting the last update time and restoring revisions)
parent ec48de8d
No related branches found
No related tags found
No related merge requests found
......@@ -1238,9 +1238,6 @@ class WP_Push_Syndication_Server {
$client = Syndication_Client_Factory::get_client( $transport_type, $site_id );
$posts = apply_filters( 'syn_pre_pull_posts', $client->get_posts(), $site, $client );
if( empty( $posts ) )
continue;
$post_types_processed = array();
foreach( $posts as $post ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment