Changeset 7469
- Timestamp:
- 07/16/2018 09:31:14 PM (7 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks
- Files:
-
- 5 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/mu-plugins/camptix-tweaks/camptix-tweaks.php
r7399 r7469 458 458 $current_city = wcorg_get_url_part( site_url(), 'city' ); 459 459 460 if ( array_key_exists( $current_city, $alternate_orders ) ) { 461 // todo PHP Warning: array_key_exists(): The first argument should be either a string or an integer 460 if ( $current_city !== false && array_key_exists( $current_city, $alternate_orders ) ) { 462 461 $order = $alternate_orders[ $current_city ]; 463 462 } … … 567 566 // Privacy field 568 567 require_once( __DIR__ . '/addons/privacy.php' ); 568 569 // Payment options 570 if ( in_array( filter_input( INPUT_GET, 'tix_action' ), array( 'attendee_info', 'checkout' ), true ) 571 && ! wcorg_skip_feature( 'camptix_payment_options' ) 572 ) { 573 require_once( __DIR__ . '/addons/class-payment-options.php' ); 574 } 575 569 576 } 570 577
Note: See TracChangeset
for help on using the changeset viewer.