Making WordPress.org


Ignore:
Timestamp:
02/24/2016 11:46:55 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Budgets: Partially remove the Due Date field.

It's no longer being used, so it can be removed everywhere. I didn't remove it from the index yet, though, because I ran into a problem with dbDelta updating the primary keys on the table, and fixing that isn't a blocker for the launch. We should come back and fix that next week.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/sponsor-invoices-list-table.php

    r2538 r2601  
    1515            'sponsor_name'  => 'Sponsor',
    1616            'description'   => 'Description',
    17             'due_date'      => 'Due Date',
    1817            'amount'        => 'Amount',
    1918        );
     
    5857            FROM $table_name
    5958            WHERE status = %s
    60             ORDER BY due_date ASC
     59            ORDER BY blog_id, invoice_id ASC
    6160            LIMIT %d
    6261            OFFSET %d",
     
    120119     * @param object $index_row
    121120     */
    122     protected function column_due_date( $index_row ) {
    123         return esc_html( date( 'Y-m-d', $index_row->due_date ) );
    124     }
    125 
    126     /**
    127      * Render the value for the Due Date column
    128      *
    129      * @param object $index_row
    130      */
    131121    protected function column_amount( $index_row ) {
    132122        return wp_kses(
Note: See TracChangeset for help on using the changeset viewer.