Changeset 2481
- Timestamp:
- 02/08/2016 04:28:04 PM (11 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments
- Files:
-
- 3 edited
-
includes/payment-request.php (modified) (1 diff)
-
includes/wordcamp-budgets.php (modified) (1 diff)
-
views/payment-request/metabox-payment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/payment-request.php
r2433 r2481 441 441 442 442 $value = $general_notes; 443 break; 444 445 case 'ach_account_type': 446 $value = array( 'Personal', 'Company' ); 443 447 break; 444 448 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/includes/wordcamp-budgets.php
r2462 r2481 405 405 break; 406 406 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 407 415 case 'payment_method': 408 416 if ( in_array( $unsafe_value, self::get_valid_payment_methods(), true ) ) { -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/metabox-payment.php
r2462 r2481 6 6 7 7 <table id="payment_method_direct_deposit_fields" class="form-table payment_method_fields <?php echo 'Direct Deposit' == $selected_payment_method ? 'active' : 'hidden'; ?>"> 8 <?php $this->render_radio_input( $post, 'Account Type', 'ach_account_type' ); ?> 8 9 <?php $this->render_text_input( $post, 'Routing Number', 'ach_routing_number' ); ?> 9 10 <?php $this->render_text_input( $post, 'Account Number', 'ach_account_number' ); ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)