diff --git a/includes/class-syndication-wp-xml-client.php b/includes/class-syndication-wp-xml-client.php
index fdea225c83203866c7e4034f13052e5e5812ba82..18c552c81d1b6b9353fbb0c59fe6e6e49852cdb6 100644
--- a/includes/class-syndication-wp-xml-client.php
+++ b/includes/class-syndication-wp-xml-client.php
@@ -718,7 +718,7 @@ class Syndication_WP_XML_Client implements Syndication_Client {
 
 					unset($row['xpath']);
 
-					$row_data['field'] = sanitize_key( $row['field'] );
+					$row_data['field'] = sanitize_text_field( $row['field'] );
 
 					if ( ! isset( $custom_nodes[$xpath] ) )
 						$custom_nodes[$xpath] = array();
@@ -875,4 +875,4 @@ class Syndication_WP_XML_Client implements Syndication_Client {
 		return wp_remote_retrieve_body( $request );
 	}
 
-}
\ No newline at end of file
+}