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

WordPress Trac noreply at wordpress.org
Wed Mar 20 08:21:44 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:  Awaiting Review
Component:  Bundled Theme      |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |
-------------------------------+------------------------------

Comment (by mfields):

 {{{after_setup_theme}}} is too early to dynamically set the value of
 {{{$content_width}}} for Twenty Thirteen.
 {{{twentythirteen_content_width()}}} calls two conditional functions which
 always return false if used before the query is processed these functions
 are {{{has_post_format()}}} and {{{is_attachment()}}}.

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


More information about the wp-trac mailing list