WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 4 days ago

#35978 new defect (bug)

.hentry in post_class causes errors in Google Webmaster Console

Reported by: rkjellberg Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.4.2
Component: Themes Keywords: reporter-feedback close
Focuses: Cc:

Description

This causes webmaster tools errors in almost all themes where author or update isn't displayed. I fixed this error by removing .hentry with a filter but that causes design errors in Wordpress default themes instead. The hentry class should not be activated by default and definitely not be used for css styling.

Change History (3)

#1 @ocean90
2 years ago

  • Keywords reporter-feedback added

Hello @rkjellberg, welcome to Trac!

Which theme are you using? Twenty Sixteen doesn't add styling to .hentry. For the other default themes see #32348.

Related: #32336, #32326

#2 @swissspidy
13 months ago

  • Keywords close added
Note: See TracTickets for help on using tickets.