Changeset 999
- Timestamp:
- 11/20/2014 04:47:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/wordcamp-payments-network.php
r997 r999 88 88 global $wpdb; 89 89 90 // Register the custom payment statuses so that we can filter posts to include only them, in order to exclude trashed posts 91 require_once( WP_PLUGIN_DIR . '/wordcamp-payments/classes/payment-request.php' ); 92 WCP_Payment_Request::register_post_statuses(); 93 90 94 // Truncate existing table. 91 95 $wpdb->query( sprintf( "TRUNCATE TABLE %s;", self::get_table_name() ) ); … … 104 108 while ( $requests = get_posts( array( 105 109 'paged' => $paged++, 106 'post_status' => 'any',110 'post_status' => array( 'paid', 'unpaid' ), 107 111 'post_type' => 'wcp_payment_request', 108 112 'posts_per_page' => 20,
Note: See TracChangeset
for help on using the changeset viewer.