diff --git a/public_html/wp-content/plugins/wcpt/wcpt-event/notification.php b/public_html/wp-content/plugins/wcpt/wcpt-event/notification.php index 73b78b7a4f..9505fdfecf 100644 --- a/public_html/wp-content/plugins/wcpt/wcpt-event/notification.php +++ b/public_html/wp-content/plugins/wcpt/wcpt-event/notification.php @@ -137,6 +137,7 @@ function get_user_nicenames_from_ids( $user_ids ) { $user_query = new WP_User_Query( array( + 'blog_id' => 0, // All sites, see https://core.trac.wordpress.org/ticket/38851. 'include' => $user_ids, 'fields' => array( 'user_nicename' ), )