[wp-trac] [WordPress Trac] #20009: Escape later when getting post and body classes

WordPress Trac noreply at wordpress.org
Thu Aug 15 05:24:13 UTC 2013


#20009: Escape later when getting post and body classes
------------------------------------+------------------
 Reporter:  mfields                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  3.7
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by obenland):

 Once the entire output of `get_body_class()` is filtered we don't really
 need to filter it again in `body_class()`, do we? It uses
 `get_body_class()` directly, without providing an opportunity to alter the
 escaped classes.

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


More information about the wp-trac mailing list