Changeset 59080 for trunk/src/wp-includes/class-wp-block.php
- Timestamp:
- 09/23/2024 12:33:14 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block.php
r59009 r59080 300 300 if ( null === $block_binding_source ) { 301 301 continue; 302 } 303 304 // Adds the necessary context defined by the source. 305 if ( ! empty( $block_binding_source->uses_context ) ) { 306 foreach ( $block_binding_source->uses_context as $context_name ) { 307 if ( array_key_exists( $context_name, $this->available_context ) ) { 308 $this->context[ $context_name ] = $this->available_context[ $context_name ]; 309 } 310 } 302 311 } 303 312
Note: See TracChangeset
for help on using the changeset viewer.