[wp-trac] [WordPress Trac] #21230: Twenty Twelve: Namespace all the things

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 12 17:23:36 UTC 2012


#21230: Twenty Twelve: Namespace all the things
---------------------------+------------------
 Reporter:  obenland       |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  3.5
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+------------------

Comment (by WraithKenny):

 A standard could be adopted where the prefix of all the things (variables
 and hooks introduced by the theme) could be "theme." Justification: It's
 not like plugins where conflicts can occur as only one theme runs at a
 time, and its simple and copy/paste friendly. Just an idea. I'm not sure
 if or how many core function/variable/hooks use "theme" as a prefix tho.

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


More information about the wp-trac mailing list