7a8e17d50a
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. Fixes #39272. Built from https://develop.svn.wordpress.org/trunk@39635 git-svn-id: http://core.svn.wordpress.org/trunk@39575 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
twentyeleven | ||
twentyfifteen | ||
twentyfourteen | ||
twentyseventeen | ||
twentyten | ||
twentythirteen | ||
twentytwelve | ||
index.php |