Changeset 1817
- Timestamp:
- 08/06/2015 11:06:27 PM (10 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/class-list-table.php
r1661 r1817 80 80 $orderby = 'created'; 81 81 $order = 'desc'; 82 } elseif( 'incomplete' == $view ) { 83 $where .= " AND `status` = 'incomplete' "; 82 84 } 83 85 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/wordcamp-payments-network.php
r1815 r1817 102 102 while ( $requests = get_posts( array( 103 103 'paged' => $paged++, 104 'post_status' => array( 'paid', 'unpaid' ),104 'post_status' => array( 'paid', 'unpaid', 'incomplete' ), 105 105 'post_type' => 'wcp_payment_request', 106 106 'posts_per_page' => 20, … … 217 217 $tab = 'overdue'; 218 218 219 if ( isset( $_REQUEST['wcp-section'] ) && in_array( $_REQUEST['wcp-section'], array( 'pending', 'overdue', 'paid' ) ) ) {219 if ( isset( $_REQUEST['wcp-section'] ) && in_array( $_REQUEST['wcp-section'], array( 'pending', 'overdue', 'paid', 'incomplete' ) ) ) { 220 220 $tab = $_REQUEST['wcp-section']; 221 221 } … … 233 233 'pending' => 'Pending', 234 234 'paid' => 'Paid', 235 'incomplete' => __( 'Incomplete', 'wordcamporg' ), 235 236 ); 236 237
Note: See TracChangeset
for help on using the changeset viewer.