Changeset 57562 for trunk/src/wp-includes/class-wp-block.php
- Timestamp:
- 02/08/2024 08:55:18 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block.php
r57561 r57562 271 271 } 272 272 273 $source_callback = $block_binding_source['get_value_callback']; 274 $source_args = ! empty( $block_binding['args'] ) && is_array( $block_binding['args'] ) ? $block_binding['args'] : array(); 275 $source_value = call_user_func_array( $source_callback, array( $source_args, $this, $attribute_name ) ); 273 $source_args = ! empty( $block_binding['args'] ) && is_array( $block_binding['args'] ) ? $block_binding['args'] : array(); 274 $source_value = $block_binding_source->get_value( $source_args, $this, $attribute_name ); 276 275 277 276 // If the value is not null, process the HTML based on the block and the attribute.
Note: See TracChangeset
for help on using the changeset viewer.