Changeset 57700
- Timestamp:
- 02/23/2024 09:18:34 AM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block.php
r57641 r57700 237 237 'core/paragraph' => array( 'content' ), 238 238 'core/heading' => array( 'content' ), 239 'core/image' => array( ' url', 'title', 'alt' ),239 'core/image' => array( 'id', 'url', 'title', 'alt' ), 240 240 'core/button' => array( 'url', 'text', 'linkTarget', 'rel' ), 241 241 ); … … 290 290 private function replace_html( string $block_content, string $attribute_name, $source_value ) { 291 291 $block_type = $this->block_type; 292 if ( ! isset( $block_type->attributes[ $attribute_name ] ) ) {292 if ( ! isset( $block_type->attributes[ $attribute_name ]['source'] ) ) { 293 293 return $block_content; 294 294 }
Note: See TracChangeset
for help on using the changeset viewer.