[wp-trac] [WordPress Trac] #26233: Twenty Fourteen: prefix the Featured_Content class and options

WordPress Trac noreply at wordpress.org
Mon Nov 25 13:17:24 UTC 2013


#26233: Twenty Fourteen: prefix the Featured_Content class and options
---------------------------+-------------------
 Reporter:  kovshenin      |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  3.8
Component:  Bundled Theme  |    Version:  trunk
 Severity:  normal         |   Keywords:
---------------------------+-------------------
 We talk a lot about prefixing all the things, so let's prefix the
 `Featured_Content` class in Twenty Fourteen, since it's not (yet?) a core
 thing, as well as the `featured-content` option.

 > Required: Themes must provide a unique slug for anything in the public
 namespace, including translation textdomain, all custom function names,
 classes, hooks, public/global variables, database entries (Theme options,
 post custom metadata, etc.) [http://make.wordpress.org/themes/guidelines/
 ref]

 I don't think Twenty Fourteen should be an exception to this rule.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26233>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list