@@ -110,7 +110,7 @@ |
||
110 | 110 | foreach ( $product_ids as $product_id ) { |
111 | 111 | $product = wc_get_product( $product_id ); |
112 | 112 | if ( is_object( $product ) ) { |
113 | - $json_ids[ $product_id ] = wp_kses_post( html_entity_decode( $product->get_formatted_name(), ENT_QUOTES, get_bloginfo( 'charset' ) ) ); |
|
113 | + $json_ids[$product_id] = wp_kses_post( html_entity_decode( $product->get_formatted_name(), ENT_QUOTES, get_bloginfo( 'charset' ) ) ); |
|
114 | 114 | } |
115 | 115 | } |
116 | 116 |