Making WordPress.org

Changeset 3109


Ignore:
Timestamp:
05/10/2016 06:53:06 PM (8 years ago)
Author:
iandunn
Message:

WordCamp Budgets Dashboard: Enforce schema field length limits.

File:
1 edited

Legend:

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

    r3108 r3109  
    399399        'invoice_id'     => $invoice_id,
    400400        'qbo_invoice_id' => get_post_meta( $invoice_id, '_wcbsi_qbo_invoice_id', true ),
    401         'invoice_title'  => $invoice->post_title,
     401        'invoice_title'  => substr( $invoice->post_title, 0, 75 ),
    402402        'status'         => $invoice->post_status,
    403403        'wordcamp_name'  => get_wordcamp_name(),
    404         'sponsor_name'   => get_sponsor_name( $invoice_id ),
     404        'sponsor_name'   => substr( get_sponsor_name( $invoice_id ), 0, 75 ),
    405405        'description'    => get_post_meta( $invoice_id, '_wcbsi_description', true ),
    406406        'currency'       => get_post_meta( $invoice_id, '_wcbsi_currency',    true ),
Note: See TracChangeset for help on using the changeset viewer.