Merge branch 'philmeadows-patch-1'
This commit is contained in:
parent
6390e387e2
commit
021431f012
|
@ -1010,6 +1010,7 @@ class WC_Meta_Box_Product_Data {
|
|||
WHERE $wpdb->posts.post_type = 'product'
|
||||
AND $wpdb->posts.post_status = 'publish'
|
||||
AND $wpdb->postmeta.meta_key = '_sku' AND $wpdb->postmeta.meta_value = '%s'
|
||||
AND $wpdb->postmeta.post_id <> $post_id LIMIT 1
|
||||
", $new_sku ) )
|
||||
) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue