Postcode label on checkout page bug
-
Hello, another bug report. Not dramatic, doesn’t stop anything working however the display of postcode in the checkout form is showing a users postcode as a label.
The error is happening here in “class-mp-checkout.php”:
// Display label? if ( ($label = mp_arr_get_value( 'label', $field )) && 'checkbox' != mp_arr_get_value( 'type', $field, '' ) ) { $required = ( mp_arr_get_value( 'validation->required', $field ) ) ? ' <span class="mp_field_required">*</span>' : ''; $html .= '<label class="mp_form_label">' . mp_arr_get_value( 'label', $field, '' ) . $required . '</label>'; }
However the issue is when $field[‘label’] is set for the postcode just prior to form_field() being called. I haven’t tracked where this is down yet but I’m in the process of doing so (if you read this soon after I post it do let me know where this occurs).
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Postcode label on checkout page bug’ is closed to new replies.