Changeset 8083 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/class-wordcamp-application.php
- Timestamp:
- 01/15/2019 09:06:15 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/class-wordcamp-application.php
r7619 r8083 15 15 16 16 static function get_event_label() { 17 __( 'WordCamp', 'wordcamporg' );17 return __( 'WordCamp', 'wordcamporg' ); 18 18 } 19 19 … … 158 158 159 159 /** 160 * Gets default status of new WordCamp application 161 * 162 * @return string 163 */ 164 public static function get_default_status() { 165 return WCPT_DEFAULT_STATUS; 166 } 167 168 /** 169 * Public report URL for WordCamp applications. 170 * 171 * @return string 172 */ 173 public static function get_application_report_url() { 174 return "https://central.wordcamp.org/reports/application-status/"; 175 } 176 177 /** 160 178 * Create a WordCamp post from an application 161 179 * … … 186 204 add_post_meta( $post_id, '_application_data', $data ); 187 205 add_post_meta( $post_id, '_application_submitter_ip_address', $_SERVER['REMOTE_ADDR'] ); 206 188 207 189 208 add_post_meta( … … 231 250 function get_organizer_email() { 232 251 if ( isset( $this->post ) && isset( $this->post->ID ) ) { 233 return get_post_meta( $this->post->ID, ' q_1079059_email');252 return get_post_meta( $this->post->ID, 'Email Address', true ); 234 253 } 235 254 } … … 242 261 function get_event_location() { 243 262 if ( isset( $this->post ) && isset( $this->post->ID ) ) { 244 return get_post_meta( $this->post->ID, ' q_1079103_wordcamp_location');263 return get_post_meta( $this->post->ID, 'Location', true ); 245 264 } 246 265 }
Note: See TracChangeset
for help on using the changeset viewer.