diff --git a/includes/class-syndication-wp-xml-client.php b/includes/class-syndication-wp-xml-client.php index 18c552c81d1b6b9353fbb0c59fe6e6e49852cdb6..c715f5862903d9bc217d2e021214ebd1bf80dae0 100644 --- a/includes/class-syndication-wp-xml-client.php +++ b/includes/class-syndication-wp-xml-client.php @@ -223,7 +223,7 @@ class Syndication_WP_XML_Client implements Syndication_Client { } else if ( isset($save_location['is_tax']) && $save_location['is_tax'] ) { //for some taxonomies, multiple values may be supplied in the field foreach ( $value_array as $value ) { - $tax_data[] = array( 'tax_name' => $save_location['field'], 'tax_value'=> ( string ) $value ); + $tax_data[$save_location['field']] = ( string ) $value; } } else { $item_fields[$save_location['field']] = (string)$value_array[0];