Skip to content

Commit eb99f27

Browse files
Use $this instead of $block
Co-authored-by: Niels de Blaauw <niels.de.blaauw@gmail.com>
1 parent 7373314 commit eb99f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Gutenberg/Block_Type.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function clarkson_render_callback( $attributes, $content ) {
118118
);
119119
}
120120
if ( is_callable( $this->original_render_callback ) ) {
121-
return (string) call_user_func( $this->original_render_callback, $attributes, $content, $block );
121+
return (string) call_user_func( $this->original_render_callback, $attributes, $content, $this );
122122
}
123123
return $content;
124124
}

0 commit comments

Comments
 (0)