diff --git a/includes/distributor-customizations/class-authorship-filters.php b/includes/distributor-customizations/class-authorship-filters.php index e608af7b..946989d2 100644 --- a/includes/distributor-customizations/class-authorship-filters.php +++ b/includes/distributor-customizations/class-authorship-filters.php @@ -44,7 +44,7 @@ public static function filter_coauthors( $coauthors, $post_id ) { } // We don't want to filter authors on admin, as it might break things. - if ( is_admin() ) { + if ( is_admin() || defined( 'REST_REQUEST' ) && REST_REQUEST ) { return $coauthors; }