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

Disable manage_thumbnails for new/edit post.

The XML-RPC method isn't defined anywhere and ends up failing, which mangles the return value of the insert/update post causing our connection with the syndicated child post to break since we no longer have the ID.
parent 2b251b83
Branches
No related tags found
No related merge requests found
......@@ -77,8 +77,6 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica
if( !$result )
return false;
$this->manage_thumbnails( $post_ID );
return $result;
}
......@@ -119,9 +117,6 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica
return false;
}
$this->manage_thumbnails( $post_ID );
return true;
}
......
......@@ -864,6 +864,8 @@ class WP_Push_Syndication_Server {
$this->validate_result_edit_post( $result, $info, $slave_post_states, $site->ID, $client );
}
// TODO: manage thumbnails
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment