Fix for putting postcode before city field

This commit is contained in:
Geert De Deckere 2012-07-18 13:32:55 +02:00
parent 1be0b9f8f2
commit 803d6e1dc4
1 changed files with 2 additions and 0 deletions

View File

@ -974,7 +974,9 @@ class WC_Countries {
if ( isset( $locale[$country]['postcode_before_city'] ) ) {
$fields['city']['class'] = array('form-row-last');
$fields['city']['clear'] = true;
$fields['postcode']['class'] = array('form-row-first', 'update_totals_on_change');
$fields['postcode']['clear'] = false;
$switch_fields = array();