[wp-trac] [WordPress Trac] #21256: New theme feature - add_theme_support( 'content-width', $defaults )
WordPress Trac
noreply at wordpress.org
Sat Apr 13 17:02:12 UTC 2013
#21256: New theme feature - add_theme_support( 'content-width', $defaults )
--------------------------------------+------------------------------
Reporter: ramiy | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.4.1
Severity: normal | Resolution:
Keywords: dev-feedback 2nd-opinion |
--------------------------------------+------------------------------
Comment (by DrewAPicture):
Replying to [comment:31 studiograsshopper]:
> This seems to me to be a lot of hoops to jump through to deal with
something which shouldn't be dealt with by PHP/HTML in the first place.
Why not ditch $content_width altogether and let CSS do the work?
> (Or am I missing something obvious?)
`$content_width` also controls the width of the content in the post editor
so you get a realistic preview of what it will look like.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21256#comment:32>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list