Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
woocommerce_bpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wordpress
woocommerce_bpd
Commits
8ba8127d
Commit
8ba8127d
authored
Mar 04, 2015
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6 from tihhgoncalves/master
Conflict with Variable Product ( thanks to tihhgoncalves )
parents
e3a30927
752e79ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
class-product-addon-admin.php
admin/class-product-addon-admin.php
+2
-2
No files found.
admin/class-product-addon-admin.php
View file @
8ba8127d
...
@@ -138,7 +138,7 @@ class Product_Addon_Admin {
...
@@ -138,7 +138,7 @@ class Product_Addon_Admin {
public
function
panel
()
{
public
function
panel
()
{
global
$post
;
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'
);
include
(
'html-addon-panel.php'
);
}
}
...
@@ -179,7 +179,7 @@ class Product_Addon_Admin {
...
@@ -179,7 +179,7 @@ class Product_Addon_Admin {
'post_status'
=>
'publish'
,
'post_status'
=>
'publish'
,
'post_type'
=>
'global_product_addon'
,
'post_type'
=>
'global_product_addon'
,
'tax_input'
=>
array
(
'tax_input'
=>
array
(
'product_cat'
=>
$objects
'product_cat'
=>
$objects
)
)
)
);
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment