Making WordPress.org


Ignore:
Timestamp:
02/08/2016 04:28:04 PM (11 years ago)
Author:
kovshenin
Message:

WordCamp.org: Add an ACH account type field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php

    r2462 r2481  
    405405                                        break;
    406406
     407                                case 'ach_account_type':
     408                                        if ( in_array( $unsafe_value, array( 'Personal', 'Company' ) ) ) {
     409                                                $safe_value = $unsafe_value;
     410                                        } else {
     411                                                $safe_value = false;
     412                                        }
     413                                        break;
     414
    407415                                case 'payment_method':
    408416                                        if ( in_array( $unsafe_value, self::get_valid_payment_methods(), true ) ) {
Note: See TracChangeset for help on using the changeset viewer.