mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 15:16:29 +01:00
61fb79c097
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 |
||
---|---|---|
.. | ||
twentyeleven | ||
twentyfifteen | ||
twentyfourteen | ||
twentyseventeen | ||
twentyten | ||
twentythirteen | ||
twentytwelve | ||
index.php |