Commit 8ba8127d authored by Franco (nextime) Lanza's avatar Franco (nextime) Lanza

Merge pull request #6 from tihhgoncalves/master

Conflict with Variable Product ( thanks to tihhgoncalves )
parents e3a30927 752e79ca
......@@ -138,7 +138,7 @@ class Product_Addon_Admin {
public function panel() {
global $post;
$product_addons = array_filter( (array) get_post_meta( $post->ID, '_product_addons', true ) );
$product_addons = array_filter( (array) get_post_meta( $_GET['post'], '_product_addons', true ) );
include( 'html-addon-panel.php' );
}
......@@ -179,7 +179,7 @@ class Product_Addon_Admin {
'post_status' => 'publish',
'post_type' => 'global_product_addon',
'tax_input' => array(
'product_cat' => $objects
'product_cat' => $objects
)
) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment