Making WordPress.org

Changeset 2665


Ignore:
Timestamp:
03/02/2016 07:46:49 AM (9 years ago)
Author:
kovshenin
Message:

WordCamp Bugets: Use the pipe character for enclosures per JPM's requirement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-dashboard.php

    r2642 r2665  
    566566
    567567        // File Header
    568         fputcsv( $report, array( 'FILHDR', 'PWS', $options['pws_customer_id'], date( 'm/d/Y' ), date( 'Hi' ) ) );
     568        fputcsv( $report, array( 'FILHDR', 'PWS', $options['pws_customer_id'], date( 'm/d/Y' ), date( 'Hi' ) ), ',', '|' );
    569569
    570570        $total = 0;
     
    609609                $options['contact_email'],
    610610                $options['contact_phone'],
    611             ) );
     611            ), ',', '|' );
    612612
    613613            // Payee Name Record
     
    617617                '',
    618618                $count, // vendor number. should be unique?
    619             ) );
     619            ), ',', '|' );
    620620
    621621            // Payee Address Record
     
    624624                substr( get_post_meta( $post->ID, '_camppayments_vendor_street_address', true ), 0, 35 ),
    625625                '',
    626             ) );
     626            ), ',', '|' );
    627627
    628628            // Additional Payee Address Record
    629             fputcsv( $report, array( 'ADDPYE', '', '' ) );
     629            fputcsv( $report, array( 'ADDPYE', '', '' ), ',', '|' );
    630630
    631631            // Payee Postal Record
     
    636636                substr( get_post_meta( $post->ID, '_camppayments_vendor_zip_code', true ), 0, 10 ),
    637637                substr( $vendor_country_code, 0, 3 ),
    638             ) );
     638            ), ',', '|' );
    639639
    640640            // Payment Description
     
    642642                'PYTDES',
    643643                substr( $description, 0, 122 ),
    644             ) );
     644            ), ',', '|' );
    645645
    646646            restore_current_blog();
     
    648648
    649649        // File Trailer
    650         fputcsv( $report, array( 'FILTRL', $count * 6 + 2 ) );
     650        fputcsv( $report, array( 'FILTRL', $count * 6 + 2 ), ',', '|' );
    651651
    652652        fclose( $report );
Note: See TracChangeset for help on using the changeset viewer.