@@ -8,10 +8,8 @@ |
||
| 8 | 8 | * Version: 1.0.0 |
| 9 | 9 | * Text Domain: woocommerce-discontinued-products |
| 10 | 10 | * Domain Path: /languages |
| 11 | - |
|
| 12 | 11 | * License: GNU General Public License v3.0 |
| 13 | 12 | * License URI: http://www.gnu.org/licenses/gpl-3.0.html |
| 14 | - |
|
| 15 | 13 | * @package woocommerce |
| 16 | 14 | */ |
| 17 | 15 | |
@@ -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 | |