WordPress/wp-content/themes
Dion Hulse 61fb79c097 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.

Built from https://develop.svn.wordpress.org/branches/4.7@39650


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-30 05:47:37 +00:00
..
twentyeleven Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentyfifteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-05 09:36:33 +00:00
twentyfourteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-05 09:36:33 +00:00
twentyseventeen Twenty Seventeen: Fix incorrect $content_width value in theme. 2016-12-30 05:47:37 +00:00
twentyten Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentythirteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-05 09:36:33 +00:00
twentytwelve Default Themes: Update version numbers and readme files for 4.7 release 2016-12-05 09:36:33 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00