Fixed my merge gone bad
This commit is contained in:
parent
bad3fa581b
commit
b053c0eb61
|
@ -548,7 +548,7 @@ function woocommerce_product_data_box() {
|
|||
$product_name = woocommerce_get_formatted_product_name( $product );
|
||||
|
||||
if ( $product )
|
||||
echo '<option value="' . esc_attr( $product_id ) . '" selected="selected">' . esc_html( $product->get_formatted_name() ) . '</option>';
|
||||
echo '<option value="' . esc_attr( $product_id ) . '" selected="selected">' . esc_html( $product_name ) . '</option>';
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue