mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Editor: Add wakeup magic method to the block bindings registry
See #60282. Follow-up [57373]. Props dmsnell, mukesh27, gziolo. git-svn-id: https://develop.svn.wordpress.org/trunk@57575 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -413,7 +413,7 @@ class WP_Block {
|
||||
// Process the block bindings and get attributes updated with the values from the sources.
|
||||
$computed_attributes = $this->process_block_bindings();
|
||||
if ( ! empty( $computed_attributes ) ) {
|
||||
// Merge the computed attributes with the original attributes
|
||||
// Merge the computed attributes with the original attributes.
|
||||
$this->attributes = array_merge( $this->attributes, $computed_attributes );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user