WordPress.org

Making WordPress.org


Ignore:
Timestamp:
11/01/2017 04:33:47 PM (3 years ago)
Author:
iandunn
Message:

WordCamp Payments: Add missing ISO 4217 currencies.

This also cleans up and normalizes the dropdown rendering across payments modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/sponsor-payment/main.php

    r5262 r6067  
    4343                    <select name="currency">
    4444                        <option value="" disabled selected><?php esc_html_e( 'Select a Currency', 'wordcamporg' ); ?></option>
     45                        <option value=""></option>
     46
    4547                        <?php foreach ( $data['currencies'] as $currency_key => $currency_name ) : ?>
    46                         <option value="<?php echo esc_attr( $currency_key ); ?>">
    47                             <?php echo esc_html( $currency_name ); ?>
    48                         </option>
     48                            <option value="<?php echo esc_attr( $currency_key ); ?>">
     49                                <?php echo esc_html( $currency_name ); ?>
     50                            </option>
    4951                        <?php endforeach; ?>
    5052                    </select>
Note: See TracChangeset for help on using the changeset viewer.