[wp-trac] [WordPress Trac] #27863: Twenty Sixteen: ensure content_width setup is in its own callback function rather than in functions.php directly (was: Move $content_width inside setup function in core-bundled Themes)

WordPress Trac noreply at wordpress.org
Tue May 5 17:02:57 UTC 2015


#27863: Twenty Sixteen: ensure content_width setup is in its own callback function
rather than in functions.php directly
---------------------------+-----------------------------
 Reporter:  chipbennett    |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:  3.9
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:
---------------------------+-----------------------------
Changes (by lancewillett):

 * keywords:  has-patch dev-feedback close =>


Comment:

 I agree Twenty Sixteen should do this, for sure. I'm in favor of a
 separate callback like _s will do — and not adding to the existing theme
 setup function.

 I don't think we should change older default themes — too much can break.

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


More information about the wp-trac mailing list