Skip to content

Commit

Permalink
Don't add post types to patterns (#79238)
Browse files Browse the repository at this point in the history
We were adding post types to all registered patterns based upon their
block type, however this is causing issues when trying to edit template
parts which include those patterns.

This change stops doing that while we investigate the issue.

See #79145
  • Loading branch information
dsas authored Jul 11, 2023
1 parent 4e0e097 commit 03f1ae4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ function ( $a, $b ) {

$this->update_core_patterns_with_wpcom_categories();

$this->update_pattern_post_types();
// Temporarily removing the call to `update_pattern_post_types` while we investigate
// https://github.com/Automattic/wp-calypso/issues/79145.

return $results;
}
Expand Down

0 comments on commit 03f1ae4

Please sign in to comment.