[wp-trac] [WordPress Trac] #26965: Google webmaster Structured Data > hentry (markup: microformats.org) Error

WordPress Trac noreply at wordpress.org
Thu Jan 30 20:45:51 UTC 2014


#26965: Google webmaster Structured Data > hentry (markup: microformats.org) Error
--------------------------+----------------------
 Reporter:  bobbykz       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.8
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 You should report this to the theme author.

 If you don't want mircoformats use the following snippet and use it as a
 plugin or place it into the functions.php of your theme.

 {{{
 /**
  * Removes the hentry mircoformat from post_class() output.
  */
 function ds_remove_hentry_microformat( $classes ) {
         return array_diff( $classes, array( 'hentry' ) );
 }
 add_filter( 'post_class', 'ds_remove_hentry_microformat' );
 }}}

 For further questions please use the support forums:
 https://wordpress.org/support/

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


More information about the wp-trac mailing list