Skip to content

Bug Fix: styling image widget captions#6791

Merged
KingYes merged 1 commit intoelementor:release/2.4.2from
ramiy:patch-6
Jan 20, 2019
Merged

Bug Fix: styling image widget captions#6791
KingYes merged 1 commit intoelementor:release/2.4.2from
ramiy:patch-6

Conversation

@ramiy
Copy link
Copy Markdown
Contributor

@ramiy ramiy commented Jan 19, 2019

This PR fixes the wrong condition used when displaying the caption styling section.

Currently the "Caption" section under the "Style" tab displayed only when "caption_source" = "custom" and when "caption_source" != "".

The user can't really style the caption when he choose to use "Attachment Caption" because of this wrong condition set to display the section.

This PR fixes the wrong condition used when displaying the caption styling section.

Currently the "**Caption**" section under the "**Style**" tab displayed only when `"caption_source" = "custom"` and when `"caption_source" != ""`.

The user can't really style the caption when he choose to use "Attachment Caption" because of this wrong condition set to display the section.
@ramiy
Copy link
Copy Markdown
Contributor Author

ramiy commented Jan 19, 2019

Note: The same issue needs to be fixed in the "featured image" widget in Elementor Pro (@matipojo).

@KingYes KingYes merged commit b4f1fad into elementor:release/2.4.2 Jan 20, 2019
@ramiy ramiy deleted the patch-6 branch January 20, 2019 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants