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

Add _thumbnail_id to the blocked meta keys list.

No point in sending the value since it's meaningless to the receiving
site.
parent 96a95aa4
No related branches found
No related tags found
No related merge requests found
...@@ -221,7 +221,7 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica ...@@ -221,7 +221,7 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica
} }
private function _get_meta_blacklist() { private function _get_meta_blacklist() {
return apply_filters( 'syn_ignored_meta_fields', array( '_edit_last', '_edit_lock', /** TODO: add more **/ ) ); return apply_filters( 'syn_ignored_meta_fields', array( '_edit_last', '_edit_lock', '_thumbnail_id' /** TODO: add more **/ ) );
} }
private function _get_post_terms( $post_id ) { private function _get_post_terms( $post_id ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment