[wp-trac] [WordPress Trac] #27863: Move $content_width inside setup function in core-bundled Themes
WordPress Trac
noreply at wordpress.org
Fri May 1 01:17:19 UTC 2015
#27863: Move $content_width inside setup function in core-bundled Themes
------------------------------------------+-----------------------------
Reporter: chipbennett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 3.9
Severity: normal | Resolution:
Keywords: has-patch dev-feedback close | Focuses:
------------------------------------------+-----------------------------
Comment (by dd32):
Replying to [comment:9 jorbin]:
> What if a child theme has over riden `twentyten_setup` et al. (since
they are pluggable function) without defining `$content_width`? If we make
this change, those themes will no longer be defining `$content_width`.
since `$content_width` can already be overridden by a child theme, that
seems like a good reason not to change it for existing themes, but keep in
mind for future themes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27863#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list