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

WordPress Trac noreply at wordpress.org
Thu Feb 15 01:46:46 UTC 2018


#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:  4.0
 Severity:  normal             |  Resolution:  wontfix
 Keywords:                     |     Focuses:  template
-------------------------------+-----------------------

Comment (by joyously):

 I have outlined a fix at
 https://core.trac.wordpress.org/ticket/32326#comment:5
 It involves adding a `add_theme_support()` keyword and only adding
 `hentry` if the theme doesn't support the new way.

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


More information about the wp-trac mailing list