[wp-trac] [WordPress Trac] #28482: Display hentry only on blog post in the post_class

WordPress Trac noreply at wordpress.org
Fri Aug 1 19:03:54 UTC 2014


#28482: Display hentry only on blog post in the post_class
-------------------------------+-----------------------
 Reporter:  grapplerulrich     |       Owner:
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:  wontfix
 Keywords:                     |     Focuses:  template
-------------------------------+-----------------------
Changes (by obenland):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Unfortunately we can't change the current behavior of `hentry` in the way
 described above, without breaking back compat.

 It can be managed on a per-site basis though, by unsetting the class name
 in a `post_class` filter.

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


More information about the wp-trac mailing list