Skip to content

Commit

Permalink
Comment out blacklist for twitter/twitter.php on twitter cards.
Browse files Browse the repository at this point in the history
They handle it well themselves -- we don't need to grunt it into place.

https://github.com/twitter/wordpress/blob/master/src/Twitter/WordPress/Cards/Compatibility.php

Thanks for being more on the ball than I was, @niallkennedy! :)
  • Loading branch information
George Stephanis authored and George Stephanis committed Feb 26, 2015
1 parent 51c4f59 commit 7e46bef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ class Jetpack {
* Plugins for which we turn off our Twitter Cards Tags implementation.
*/
private $twitter_cards_conflicting_plugins = array(
'twitter/twitter.php', // The official one.
// 'twitter/twitter.php', // The official one handles this on its own.
// // https://github.com/twitter/wordpress/blob/master/src/Twitter/WordPress/Cards/Compatibility.php
'eewee-twitter-card/index.php', // Eewee Twitter Card
'ig-twitter-cards/ig-twitter-cards.php', // IG:Twitter Cards
'jm-twitter-cards/jm-twitter-cards.php', // JM Twitter Cards
Expand Down

0 comments on commit 7e46bef

Please sign in to comment.