Changeset 1289
- Timestamp:
- 02/20/2015 08:40:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-forms-to-drafts/wordcamp-forms-to-drafts.php
r1287 r1289 210 210 } 211 211 212 $all_values = $this->get_unprefixed_grunion_form_values( $all_values ); 212 213 $wordcamp_to_form_key_map = array( 213 214 'Location' => 'WordCamp City, State, Country', … … 258 259 } 259 260 261 $all_values = $this->get_unprefixed_grunion_form_values( $all_values ); 260 262 $wordcamp_to_form_key_map = array( 261 263 'Location' => 'Enter the city, state/province, and country where you would like to organize a WordCamp.', … … 321 323 } 322 324 325 $all_values = $this->get_unprefixed_grunion_form_values( $all_values ); 323 326 $sponsor_to_form_key_map = array( 324 327 '_wcpt_sponsor_website' => 'Website', … … 328 331 329 332 // Create the post 330 // todo need to unprefix $all_values, like call_for_speakers() does? if so, extract into DRY function331 333 $draft_id = wp_insert_post( array( 332 334 'post_type' => 'wcb_sponsor',
Note: See TracChangeset
for help on using the changeset viewer.