data-hide-cta is outputted twice
-
This code in
facebook-page-feed-graph-api/inc/class-mongoose-page-plugin.php
:if ( isset( $a['cta'] ) && ! empty( $a['cta'] ) ) { $return .= ' data-hide-cta="' . $a['cta'] . '"'; $return .= sprintf( ' data-hide-cta="%1$s"', esc_attr( $a['cta'] ) ); }
… outputs
<div class="fb-page" data-href="..." data-width="340" data-max-width="340" data-height="130" data-hide-cover="false" data-show-facepile="false" data-tabs="timeline,events" data-hide-cta="false" data-hide-cta="false"
…… which breaks HTML validation.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘data-hide-cta is outputted twice’ is closed to new replies.