[wp-trac] [WordPress Trac] #23537: Require attributes, not classes

WordPress Trac noreply at wordpress.org
Thu Feb 28 19:38:32 UTC 2013


#23537: Require attributes, not classes
-----------------------------+------------------------------
 Reporter:  ryanve           |       Owner:
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Template         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by ryanve):

 Another use case would be to provide `data-` attributes to JavaScript-
 based plugins. I agree [http://schema.org schemas] may be better
 implemented by themes. But even in a theme I'd rather use hooks than
 create a separate file just for different attributes. The point is that
 the current API is restrictive rather than free.

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


More information about the wp-trac mailing list