Skip to content

Commit

Permalink
Issue #33 - correct reference to $this->bad_processed_content
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbingwide committed Nov 17, 2020
1 parent ccb4cae commit 6716b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-block-recursion-error-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function rest_prepare_wp_block($response, $post, $request)

$content = $response->data['content']['raw'];
$content = $this->replace_bad($content, $this->bad_id);
foreach ($this->processed_content as $id) {
foreach ($this->bad_processed_content as $id) {
$content = $this->replace_bad($content, $id);
}
// Convert any remaining `wp:block` values to a `missing` block.
Expand Down

0 comments on commit 6716b33

Please sign in to comment.