Skip to content

Commit

Permalink
Remove 'experiments' flag
Browse files Browse the repository at this point in the history
  • Loading branch information
artemiomorales committed May 24, 2023
1 parent e532fb1 commit cd0c9dd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/block-library/src/image/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ function render_block_core_image( $attributes, $content ) {
}
}

$experiments = get_option( 'gutenberg-experiments' );

if ( ! empty( $experiments['gutenberg-interactivity-api-core-blocks'] ) && 'none' === $link_destination && $lightbox ) {
if ( 'none' === $link_destination && $lightbox ) {

$aria_label = 'Open image lightbox';
if ( $processor->get_attribute( 'alt' ) ) {
Expand Down

0 comments on commit cd0c9dd

Please sign in to comment.