Making WordPress.org

Changeset 2861


Ignore:
Timestamp:
03/31/2016 06:58:58 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Make the location field required.

It gets used in the post_title of the corresponding wordcamp post.

Location:
sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/views/applications/wordcamp/shortcode-application.php

    r2797 r2861  
    10121012                                        <div class="qText">
    10131013                                                Enter the city, state/province, and country where you would like to organize a WordCamp.
     1014                                                <span class="PDF_mand">*</span>
    10141015                                        </div>
    10151016
    10161017                                        <div class="PDF_QT100">
    1017                                                 <input value="" maxlength="500" name="q_1079103_wordcamp_location" class="large" type="text" title="Enter the city, state/province, and country where y&hellip;" />
     1018                                                <input value="" maxlength="500" name="q_1079103_wordcamp_location" class="large required" type="text" title="Enter the city, state/province, and country where y&hellip;" required />
    10181019                                        </div>
    10191020                                </div>
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php

    r2845 r2861  
    197197                        }
    198198                }
     199               
     200                // todo add log entry when site created
    199201
    200202                $this->validate_and_add_note( $post_id );
Note: See TracChangeset for help on using the changeset viewer.