Skip to content
Draft
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Reusable logic.
  • Loading branch information
spacedmonkey committed Oct 6, 2023
commit 2066a482cadc078d7db94934b3dde46c48544e50
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-block-patterns-registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function get_all_registered( $outside_init_only = false ) {
$patterns = $outside_init_only
? $this->registered_patterns_outside_init
: $this->registered_patterns;

foreach ( $patterns as $pattern_name => $pattern ) {
if ( ! isset( $pattern['content_parsed'] ) ) {
$pattern['content_parsed'] = $this->get_parse_blocks( $pattern['content'] );
Expand Down