[wp-trac] [WordPress Trac] #23824: Twenty Thirteen: Correct the hook on which twentythirteen_content_width is fired

WordPress Trac noreply at wordpress.org
Thu Mar 21 17:51:10 UTC 2013


#23824: Twenty Thirteen: Correct the hook on which twentythirteen_content_width is
fired
-------------------------------------------+------------------
 Reporter:  philiparthurmoore              |       Owner:
     Type:  defect (bug)                   |      Status:  new
 Priority:  normal                         |   Milestone:  3.6
Component:  Bundled Theme                  |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  needs-patch reporter-feedback  |
-------------------------------------------+------------------

Comment (by philiparthurmoore):

 obenland also made a good point in IRC:

 > post formats will use the new API - no content-width necessary

 So if `has_post_format( 'image' ) || has_post_format( 'video' )` is
 eventually removed from `twentythirteen_content_width` due to post format
 API changes then leaving `template_redirect` should be fine, since we only
 care about an attachment's content width on the front when it's being
 viewed.

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


More information about the wp-trac mailing list