Remove kses on title due to itemprop stripping

Fixes issue #4.
This commit is contained in:
Robin Cornett
2016-10-27 10:13:55 -04:00
parent ed6b91a82f
commit 8dbe122bc2
@@ -191,7 +191,7 @@ class Display_Featured_Image_Genesis_Output {
} elseif ( $this->move_title() ) { // if titles are being moved to overlay the image
if ( ! empty( $this->item->title ) && $this->do_the_title() ) {
echo wp_kses_post( $this->do_the_title() );
echo $this->do_the_title();
}
add_action( 'genesis_before_loop', array( $this, 'add_descriptions' ) );