Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: added

Added newspack and vip check to should_allow_error_filtering.
6 changes: 5 additions & 1 deletion projects/packages/connection/src/class-error-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ public function handle_verified_errors() {
*/
protected function should_allow_error_filtering() {
$host = new \Automattic\Jetpack\Status\Host();
return $host->is_woa_site();
if ( $host->is_woa_site() || $host->is_vip_site() || $host->is_newspack_site() ) {
return true;
}

return false;
}

/**
Expand Down
Loading