Skip to content

Commit 668fe1b

Browse files
Update src/wp-includes/class-wp-block.php
Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
1 parent 2944c82 commit 668fe1b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/class-wp-block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ private function process_block_bindings( $block_content ) {
274274
$source_args = ! empty( $block_binding['args'] ) && is_array( $block_binding['args'] ) ? $block_binding['args'] : array();
275275
$source_value = call_user_func_array( $source_callback, array( $source_args, $this, $attribute_name ) );
276276

277-
// If the value is not null, process the HTML based on the block and the attribute
277+
// If the value is not null, process the HTML based on the block and the attribute.
278278
if ( ! is_null( $source_value ) ) {
279279
$modified_block_content = $this->replace_html( $modified_block_content, $attribute_name, $source_value );
280280
}

0 commit comments

Comments
 (0)