Plugin-nl/remove-schema

Add option to remove hAtom markup

timvaniersel opened this issue · 1 comments

Possible extra schema to remove: hAtom
http://microformats.org/wiki/hatom

Class based system that is tricky to remove (What if there is also CSS added to the hentry (root) class?

Noticed this kind of Schema when looking into #22

Edit

Partially fixed with 8b06f4e hfeed class and and vcard should also be removed for full removal. Unable to do this with a clean solution. Should be done aggressively.

  • Remove Hentry
  • Remove hfeed aggressively
  • Remove vcard aggressively
  • Look for other kinds of hAtom structured data
/**
 * Remove 'hentry' from post_class()
 */
function remove_schema_remove_hentry( $class ) {
	$class = array_diff( $class, array( 'hentry' ) );	
	return $class;
}