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

Pull: If a post doesn't have a GUID, skip it.

parent 4c964c69
Branches
No related tags found
No related merge requests found
......@@ -1237,6 +1237,9 @@ class WP_Push_Syndication_Server {
$post_types_processed[] = $post->post_type;
}
if ( empty( $post['post_guid'] ) )
continue;
$post_id = $this->find_post_by_guid( $post['post_guid'], $post, $site );
if ( $post_id ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment