Making WordPress.org

Changeset 2503


Ignore:
Timestamp:
02/15/2016 05:02:16 PM (9 years ago)
Author:
iandunn
Message:

WordCamp Post Types: Capitalize sponsor contact name.

These fields are used to create Customer entries in QuickBooks, and it looks bad if they're not properly capitalized.

The company name isn't capitalized because it's more common for those names to intentionally use lowercase letters at the begining of the name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/wc-post-types.php

    r2457 r2503  
    17011701            // TODO: maybe only allows links to home page, depending on outcome of http://make.wordpress.org/community/2013/12/31/irs-rules-for-corporate-sponsorship-of-wordcamp/
    17021702
     1703            $values['first_name'] = ucfirst( $values['first_name'] );
     1704            $values['last_name' ] = ucfirst( $values['last_name' ] );
     1705
    17031706            foreach( $values as $id => $value ) {
    17041707                if ( empty( $value ) ) {
Note: See TracChangeset for help on using the changeset viewer.