From 5da4daecd20bc58c92c19e7be4f93c1bee724ebd Mon Sep 17 00:00:00 2001 From: Mohammad Jangda <batmoo@gmail.com> Date: Thu, 5 Sep 2013 16:36:52 +0000 Subject: [PATCH] Add _thumbnail_id to the blocked meta keys list. No point in sending the value since it's meaningless to the receiving site. --- includes/class-syndication-wp-xmlrpc-client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-syndication-wp-xmlrpc-client.php b/includes/class-syndication-wp-xmlrpc-client.php index 85a1aa6..bbd8322 100644 --- a/includes/class-syndication-wp-xmlrpc-client.php +++ b/includes/class-syndication-wp-xmlrpc-client.php @@ -221,7 +221,7 @@ class Syndication_WP_XMLRPC_Client extends WP_HTTP_IXR_Client implements Syndica } 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 ) { -- GitLab