mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
Dion Hulse
4b367cfcd4
Twenty Seventeen: Fix incorrect
$content_width
value in theme.
This addresses a major bug. Incorrectly setting the `$content_width` causes media embeds to end up with the wrong aspect ratio, among other issues. This fix uses `template_redirect`, to ensure conditional theme tags can be used. It also defines a default value at `after_theme_setup` so that plugins have something to work with at `init`. Props sstoqnov, laurelfulford, obenland. Merges [39635] to the 4.7 branch. Fixes #39272. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39650 602fd350-edb4-49c9-b593-d223f7449a82
Description
No description provided
Languages
PHP
81.4%
CSS
8.9%
JavaScript
8.2%
SCSS
0.8%
HTML
0.7%