From 6a0a53f8925454d8df65595ece7b20740ef3dacf Mon Sep 17 00:00:00 2001 From: Tanner <tmoushey@iwitnessdesign.com> Date: Wed, 1 May 2013 20:23:14 -0700 Subject: [PATCH] Modify xml taxonomy structure to match abs taxonomy structure --- includes/class-syndication-wp-xml-client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-syndication-wp-xml-client.php b/includes/class-syndication-wp-xml-client.php index 18c552c..c715f58 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]; -- GitLab