From c7c15fa856febce12bf7e4a1f89094628cdca3c0 Mon Sep 17 00:00:00 2001 From: Manos Psychogyiopoulos Date: Sun, 30 Dec 2012 14:00:37 +0200 Subject: [PATCH] Hooks for consistancy with writepanel-product-type-variable.php writepanel-product-type-variable.php already allows filtering the variation dropdown descriptions in metaboxes. No hook exists here to take care of the Default Selections dropdown. --- .../writepanels/writepanel-product-type-variable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 admin/post-types/writepanels/writepanel-product-type-variable.php diff --git a/admin/post-types/writepanels/writepanel-product-type-variable.php b/admin/post-types/writepanels/writepanel-product-type-variable.php old mode 100644 new mode 100755 index 28c17a8fede..ff2341a9301 --- a/admin/post-types/writepanels/writepanel-product-type-variable.php +++ b/admin/post-types/writepanels/writepanel-product-type-variable.php @@ -212,11 +212,11 @@ function variable_product_type_options() { if ( $attribute['is_taxonomy'] ) { $post_terms = wp_get_post_terms( $post->ID, $attribute['name'] ); foreach ( $post_terms as $term ) - echo ''; + echo ''; } else { $options = explode( '|', $attribute['value'] ); foreach ( $options as $option ) - echo ''; + echo ''; } echo '';