Changeset 8084
- Timestamp:
- 01/15/2019 11:02:54 AM (6 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-event/notification.php
r8083 r8084 110 110 */ 111 111 function get_user_nicenames_from_ids( $user_ids ) { 112 if ( empty( $user_ids ) ) { 113 return array(); 114 } 115 112 116 $user_query = new WP_User_Query( array( 'include' => $user_ids, 'fields' => array( 'user_nicename' ), ) ); 113 117 -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-meetup/class-meetup-admin.php
r8083 r8084 498 498 } 499 499 500 if ( 'wcpt-mtp-active' === $new_status ) {500 if ( 'wcpt-mtp-active' === $new_status && 'wcpt-mtp-active' !== $old_status ) { 501 501 return $this->notify_new_meetup_group_in_slack( $meetup ); 502 } elseif ( 'wcpt-mtp-rejected' === $new_status ) {502 } elseif ( 'wcpt-mtp-rejected' === $new_status && 'wcpt-mtp-rejected' !== $old_status ) { 503 503 $location = get_post_meta( $meetup->ID, 'Meetup Location', true ); 504 504 return $this->schedule_decline_notification( $meetup, $this->get_event_label(), $location ); -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r8083 r8084 725 725 } 726 726 727 if ( 'wcpt-scheduled' === $new_status ) {727 if ( 'wcpt-scheduled' === $new_status && 'wcpt-scheduled' !== $old_status ) { 728 728 return $this->notify_new_wordcamp_in_slack( $wordcamp ); 729 } elseif ( 'wcpt-rejected' === $new_status ) {729 } elseif ( 'wcpt-rejected' === $new_status && 'wcpt-rejected' !== $old_status ) { 730 730 $location = get_post_meta( $wordcamp->ID, 'Location', true ); 731 731 return $this->schedule_decline_notification( $wordcamp, 'WordCamp', $location );
Note: See TracChangeset
for help on using the changeset viewer.