Making WordPress.org


Ignore:
Timestamp:
03/03/2016 07:33:42 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Make Vendor Payment and Payment Method fields required.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-radio.php

    r995 r2682  
    1414                value="<?php echo esc_attr( $option ); ?>"
    1515                <?php checked( $option, $selected ); ?>
     16                <?php __checked_selected_helper( $required, true, true, 'required' ); ?>
    1617                />
    1718
     
    2021            </label>
    2122        <?php endforeach; ?>
     23
     24        <?php
     25            if ( $required ) {
     26                WordCamp_Budgets::render_form_field_required_indicator();
     27            }
     28        ?>
    2229    </td>
    2330</tr>
Note: See TracChangeset for help on using the changeset viewer.