Automattic / Co-Authors-Plus

Multiple bylines and Guest Authors for WordPress
https://wordpress.org/plugins/co-authors-plus/
GNU General Public License v2.0
287 stars 205 forks source link

`jetpack_open_graph_tags` hook function in Co-Authors Plus causes fatal error in Jetpack Social #1023

Open methnen opened 4 months ago

methnen commented 4 months ago

There’s an error upon trying to use jetpack social because of the jetpack_open_graph_tags filter.

Coauthors Plus implemented this filter with two arguments $og_tags and $image_dimensions.

However, looking at the way the hook is implemented inside of jetpack social it does not have this second attribute thus the fatal error.

It's also notable that that code in Co-Authors Plus doesn't even use the $image_dimensions variable.