WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21766, comment 1


Ignore:
Timestamp:
09/01/12 18:47:38 (3 years ago)
Author:
xenlab
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21766, comment 1

    initial v1  
    11I see value in having a way to add new attributes to the {{{<body>}}} tag, this approach still seems kind of scoped to the example use case.  
    22 
    3 I'm not a fan of having to piggy back on {{{body_class()}}}, but I see why -- {{{body_class}}} is widely deployed and integrated into many themes. However, I still think there is a cleaner approach to this problem that allows us body_class to still work while also introducing a new filter to add attributes. 
     3I'm not a fan of having to piggy back on {{{body_class()}}}, but I see why -- {{{body_class}}} is widely deployed and integrated into many themes. However, I still think there is a cleaner approach to this problem that allows {{{body_class}}} to still work while also introducing a new filter to add attributes.