Skip to content

Commit 0eb4712

Browse files
Fix PHP spacing for linter
1 parent 2b977c2 commit 0eb4712

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-library/src/image/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function render_block_core_image( $attributes, $content ) {
7878
// Add directive to expand modal image if appropriate.
7979
$m = new WP_HTML_Tag_Processor( $content );
8080
$m->next_tag( 'img' );
81-
$m->set_attribute( 'data-wp-context', '{ "core": { "image": { "imageSrc": "' . wp_get_attachment_url($attributes['id']) . '"} } }' );
81+
$m->set_attribute( 'data-wp-context', '{ "core": { "image": { "imageSrc": "' . wp_get_attachment_url( $attributes['id'] ) . '"} } }' );
8282
$m->set_attribute( 'data-wp-bind--src', 'selectors.core.image.imageSrc' );
8383
$modal_content = $m->get_updated_html();
8484

0 commit comments

Comments
 (0)