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

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 2 14:21:54 UTC 2012


#21766: modify body_class function to allow non-class items
-----------------------------------+------------------------------
 Reporter:  norcross               |       Owner:
     Type:  feature request        |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  General                |     Version:  trunk
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------------------

Comment (by norcross):

 Replying to [comment:3 scribu]:
 > Similar discussion for admin body classes: #19460

 similar, but JS won't correctly solve the issue on the front-end. adding
 schema items (which is one example, but the best I can think of currently)
 via JS won't apply until after the page loads, which won't put it in the
 source code that search engines will crawl. if it isn't in the actual
 source, it may as well not exist in the eyes of a search engine.

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


More information about the wp-trac mailing list