Skip to content

2.5.2 gallery code contains unused aspect ratio default properties. #1290

@siparker

Description

@siparker

in breakdance\subplugins\breakdance-elements\elements\Gallery\element.php

on line 73 default properties there is the following set.

'images' => [
'aspect_ratio' => '75%',
'background' => '#30',
],

however the images section of the ui doesn't contain aspect ratio. it is in the layout section.

probably left over from an earlier version.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions