Skip to content

Vimeo: set default width if $content_width isn't set#3497

Merged
eliorivero merged 2 commits intomasterfrom
fix/3495-vimeo-content-width
Mar 4, 2016
Merged

Vimeo: set default width if $content_width isn't set#3497
eliorivero merged 2 commits intomasterfrom
fix/3495-vimeo-content-width

Conversation

@jeherve
Copy link
Copy Markdown
Member

@jeherve jeherve commented Mar 3, 2016

Fixes #3495

If the theme doesn't set $content_width, we set a default, 640, like for YouTube.

Fixes #3495

If the theme doesn't set `$content_width`, we set a default, `640`, like for YouTube.
@jeherve jeherve added Bug When a feature is broken and / or not performing as intended [Feature] Shortcodes / Embeds [Status] Needs Review This PR is ready for review. labels Mar 3, 2016
@jeherve jeherve added this to the 3.9.3 milestone Mar 3, 2016
Previously the conditional would give a wrong result when there is no content_width, which was breaking the tests.
@zinigor zinigor added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Review This PR is ready for review. labels Mar 4, 2016
@zinigor
Copy link
Copy Markdown
Contributor

zinigor commented Mar 4, 2016

Looks good, thanks!

@eliorivero eliorivero merged this pull request into master Mar 4, 2016
@georgestephanis georgestephanis removed the [Status] Ready to Merge Go ahead, you can push that green button! label Mar 4, 2016
@eliorivero eliorivero deleted the fix/3495-vimeo-content-width branch March 4, 2016 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug When a feature is broken and / or not performing as intended [Feature] Shortcodes / Embeds Touches WP.com Files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants