Skip to content

Commit 1309553

Browse files
committed
#4074 - Gallery fix.
Signed-off-by: Kev Provance <kevin.provance@gmail.com>
1 parent e15369e commit 1309553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redux-core/inc/fields/gallery/class-redux-gallery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function render() {
3535

3636
foreach ( $ids as $attachment_id ) {
3737
$img = wp_get_attachment_image_src( $attachment_id );
38-
if ( ! false === $img ) {
38+
if ( false !== $img ) {
3939
$alt = wp_prepare_attachment_for_js( $attachment_id );
4040
$alt = $alt['alt'] ?? '';
4141

0 commit comments

Comments
 (0)