esc_html/esc_attribute in review-order.php

This commit is contained in:
Mike Jolley 2011-09-30 09:48:43 +01:00
parent cebcb8b497
commit f46bc5ed9b
1 changed files with 2 additions and 2 deletions

View File

@ -28,11 +28,11 @@
foreach ($available_methods as $method ) :
echo '<option value="'.$method->id.'" ';
echo '<option value="'.esc_attr($method->id).'" ';
if ($method->id==$_SESSION['_chosen_shipping_method']) echo 'selected="selected"';
echo '>'.$method->title.' &ndash; ';
echo '>'.esc_html($method->title).' &ndash; ';
if ($method->shipping_total>0) :
echo woocommerce_price($method->shipping_total);