[wp-trac] [WordPress Trac] #27863: Move $content_width inside setup function in core-bundled Themes

WordPress Trac noreply at wordpress.org
Fri May 1 13:25:05 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 jorbin):

 [https://make.wordpress.org/core/2011/03/23/code-refactoring/ Code
 refactoring should not be done just because we can.]  Outside of this
 being the "right" way to do things, what do we gain?  What is the
 perfomance increase? What are the bugs that are fixed?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27863#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list