Skip to content

Commit b956d52

Browse files
committed
Fix hook return that should be an array
1 parent 3507fdc commit b956d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/admin/admin-metaboxes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public static function custom_fields_attachment( $form_fields, $attachment ) {
422422
);
423423

424424
if ( ! empty( $emitter_relation ) ) {
425-
return false;
425+
return $form_fields;
426426
}
427427

428428
// Get syncs for current post_type and mode set to "auto"

0 commit comments

Comments
 (0)