Changeset 7984 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/tracker.php
- Timestamp:
- 12/17/2018 07:35:16 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/tracker.php
r7983 r7984 85 85 if ( 'wordcamp' === $application_type ) { 86 86 $events[] = array( 87 'city' => $post->post_title, 88 'cityUrl' => filter_var( get_post_meta( $post->ID, 'URL', true ), FILTER_VALIDATE_URL ), 89 'applicant' => esc_html( get_post_meta( $post->ID, 'Organizer Name', true ) ), 90 'milestone' => $milestones[ $post->post_status ], 91 'status' => $statuses[ $post->post_status ], 92 'lastUpdate' => time() - $last_update_timestamp, 87 'city' => $post->post_title, 88 'cityUrl' => filter_var( get_post_meta( $post->ID, 'URL', true ), FILTER_VALIDATE_URL ), 89 'applicant' => esc_html( get_post_meta( $post->ID, 'Organizer Name', true ) ), 90 'milestone' => $milestones[ $post->post_status ], 91 'status' => $statuses[ $post->post_status ], 92 'lastUpdate' => $last_update_timestamp, 93 'humanizedTime' => human_time_diff( $last_update_timestamp ), 93 94 ); 94 95 } elseif ( 'meetup' === $application_type ) { 95 96 $events[] = array( 96 'city' => $post->post_title, 97 'cityUrl' => filter_var( get_post_meta( $post->ID, 'Meetup URL', true ), FILTER_VALIDATE_URL ), 98 'applicant' => esc_html( get_post_meta( $post->ID, 'Organizer Name', true ) ), 99 'status' => $statuses[ $post->post_status ], 100 'lastUpdate' => time() - $last_update_timestamp, 97 'city' => $post->post_title, 98 'cityUrl' => filter_var( get_post_meta( $post->ID, 'Meetup URL', true ), FILTER_VALIDATE_URL ), 99 'applicant' => esc_html( get_post_meta( $post->ID, 'Organizer Name', true ) ), 100 'status' => $statuses[ $post->post_status ], 101 'lastUpdate' => $last_update_timestamp, 102 'humanizedTime' => human_time_diff( $last_update_timestamp ), 101 103 ); 102 104 }
Note: See TracChangeset
for help on using the changeset viewer.