Ticket #56470: remove_viewScript_constraint.diff
| File remove_viewScript_constraint.diff, 529 bytes (added by , 3 years ago) |
|---|
-
src/wp-includes/class-wp-block.php
263 263 wp_enqueue_script( $this->block_type->script ); 264 264 } 265 265 266 if ( ! empty( $this->block_type->view_script ) && empty( $this->block_type->render_callback )) {266 if ( ! empty( $this->block_type->view_script ) ) { 267 267 wp_enqueue_script( $this->block_type->view_script ); 268 268 } 269 269