Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OG Tags: do not output our tags when SEOPress is active #41331

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: compat

Open Graph Meta Tags: do not display Jetpack's tags when the SEOPress plugin is active.
3 changes: 2 additions & 1 deletion projects/plugins/jetpack/class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ class Jetpack {
*
* - All in One SEO Pack, All in one SEO Pack Pro
* - WordPress SEO by Yoast, WordPress SEO Premium by Yoast
* - SEOPress, SEOPress Pro
*
* Plugin authors: If you'd like to prevent Jetpack's Open Graph tag generation in your plugin, you can do so via this filter:
* add_filter( 'jetpack_enable_open_graph', '__return_false' );
Expand Down Expand Up @@ -303,6 +302,8 @@ class Jetpack {
'wp-facebook-like-send-open-graph-meta/wp-facebook-like-send-open-graph-meta.php', // WP Facebook Like Send & Open Graph Meta.
'wp-facebook-open-graph-protocol/wp-facebook-ogp.php', // WP Facebook Open Graph protocol.
'wp-ogp/wp-ogp.php', // WP-OGP.
'wp-seopress/seopress.php', // SEOPress.
'wp-seopress-pro/seopress-pro.php', // SEOPress Pro.
'zoltonorg-social-plugin/zosp.php', // Zolton.org Social Plugin.
'wp-fb-share-like-button/wp_fb_share-like_widget.php', // WP Facebook Like Button.
'open-graph-metabox/open-graph-metabox.php', // Open Graph Metabox.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: changed

Open Graph Meta Tags: do not display Jetpack's tags when the SEOPress plugin is active.
2 changes: 2 additions & 0 deletions projects/plugins/social/src/class-meta-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ class Meta_Tags {
'wp-facebook-like-send-open-graph-meta/wp-facebook-like-send-open-graph-meta.php', // WP Facebook Like Send & Open Graph Meta.
'wp-facebook-open-graph-protocol/wp-facebook-ogp.php', // WP Facebook Open Graph protocol.
'wp-ogp/wp-ogp.php', // WP-OGP.
'wp-seopress/seopress.php', // SEOPress.
'wp-seopress-pro/seopress-pro.php', // SEOPress Pro.
'zoltonorg-social-plugin/zosp.php', // Zolton.org Social Plugin.
'wp-fb-share-like-button/wp_fb_share-like_widget.php', // WP Facebook Like Button.
'open-graph-metabox/open-graph-metabox.php', // Open Graph Metabox.
Expand Down
Loading