Changeset 2260 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-list-table.php
- Timestamp:
- 01/08/2016 08:42:19 PM (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-list-table.php
r2255 r2260 1 1 <?php 2 2 3 /** 3 4 * This list table class handles the output of data … … 7 8 * Note: Uses switch_to_blog() excessively. 8 9 */ 9 class WordCamp_Payments_Network_List_Table extends WP_List_Table {10 class Payment_Requests_List_Table extends WP_List_Table { 10 11 11 12 /** … … 65 66 global $wpdb; 66 67 67 $sql = sprintf( "SELECT SQL_CALC_FOUND_ROWS blog_id, post_id FROM `%s` WHERE 1=1 ", WordCamp_Payments_Network_Tools::get_table_name() );68 $view = WordCamp_Payments_Network_Tools::get_current_tab();68 $sql = sprintf( "SELECT SQL_CALC_FOUND_ROWS blog_id, post_id FROM `%s` WHERE 1=1 ", Payment_Requests_Dashboard::get_table_name() ); 69 $view = Payment_Requests_Dashboard::get_current_tab(); 69 70 $where = ''; 70 71 $orderby = ''; … … 179 180 180 181 if ( $currency != 'USD' ) { 181 $usd_amount = WordCamp_Payments_Network_Tools::convert_currency( $currency, 'usd', $amount );182 $usd_amount = Payment_Requests_Dashboard::convert_currency( $currency, 'usd', $amount ); 182 183 if ( $usd_amount ) 183 184 $output .= sprintf( '<br />~ %s USD', esc_html( number_format( $usd_amount, 2 ) ) );
Note: See TracChangeset
for help on using the changeset viewer.