pfefferle / wordpress-opengraph

Open Graph plugin for WordPress
http://wordpress.org/plugins/opengraph/
Apache License 2.0
22 stars 13 forks source link

Removed Jetpacks OpenGraph Support #11

Closed pfefferle closed 12 years ago

willnorris commented 12 years ago

wouldn't a cleaner approach be to just hook into 'jetpack_enable_opengraph' like they did here: http://plugins.trac.wordpress.org/browser/jetpack/trunk/jetpack.php#L4424

pfefferle commented 12 years ago

Like that?

add_filter( 'jetpack_enable_opengraph', '__return_false', 0 );
willnorris commented 12 years ago

I think it would need to be priority > 0 to ensure it runs after the initial __return_true. I'd probably just use priority 99 like they did for the official facebook plugin.

pfefferle commented 12 years ago

you are right! should I change and re-push it or will you add it directly?