[wp-trac] [WordPress Trac] #12146: Post thumbnails should not be affected by $content_width

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 06:05:05 UTC 2010


#12146: Post thumbnails should not be affected by $content_width
-------------------------------------+--------------------------------------
 Reporter:  Viper007Bond             |        Owner:          
     Type:  defect (bug)             |       Status:  reopened
 Priority:  normal                   |    Milestone:  3.0     
Component:  Post Thumbnails          |      Version:  3.0     
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Changes (by Viper007Bond):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Unintended side-effect: post thumbnail preview on write screen is not
 downsized to fit. The meta box is was setting `$content_width` before to
 make it fit.

 Rather than adding some other variable/global to replicate the old method,
 I think it'd just be easier to regex the HTML and modify the width/height.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12146#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list