[wp-trac] [WordPress Trac] #21766: modify body_class function to allow non-class items

WordPress Trac noreply at wordpress.org
Thu May 22 15:55:43 UTC 2014


#21766: modify body_class function to allow non-class items
-----------------------------+------------------------------
 Reporter:  norcross         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  template
-----------------------------+------------------------------
Changes (by obenland):

 * keywords:  has-patch 2nd-opinion => has-patch close


Comment:

 The intend of this ticket seems to be similar to #23537.

 For the example mentioned, I agree with Otto42 that a theme should be
 dealing with schema.org and not a plugin. I don't think we should be
 hijacking `body_class()` in that way.

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


More information about the wp-trac mailing list