Make WordPress Core


Ignore:
Timestamp:
02/09/2024 10:52:09 AM (2 years ago)
Author:
gziolo
Message:

Editor: Add wakeup magic method to the block bindings registry

See #60282.
Follow-up [57373].
Props dmsnell, mukesh27, gziolo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-block.php

    r57574 r57575  
    414414        $computed_attributes = $this->process_block_bindings();
    415415        if ( ! empty( $computed_attributes ) ) {
    416             // Merge the computed attributes with the original attributes
     416            // Merge the computed attributes with the original attributes.
    417417            $this->attributes = array_merge( $this->attributes, $computed_attributes );
    418418        }
Note: See TracChangeset for help on using the changeset viewer.