Open Graph for Facebook, Google+ and Twitter Card Tags - Version 2.2.6.1

Version Description

  • Stop using the WooCommerce term meta helper functions
Download this release

Release Info

Developer webdados
Plugin Icon Open Graph for Facebook, Google+ and Twitter Card Tags
Version 2.2.6.1
Comparing to
See all releases

Code changes from version 2.2.6 to 2.2.6.1

public/class-webdados-fb-open-graph-public.php CHANGED
@@ -307,7 +307,7 @@ class Webdados_FB_Public {
307
  if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && ( is_product_category() || is_tax('product_brand') ) ) {
308
  if ( is_product_category() ) $debug[] = 'is_product_category';
309
  if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
310
- if ( $thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', true ) ) {
311
  if ( $image = wp_get_attachment_url( $thumbnail_id ) ) {
312
  $fb_image = $image;
313
  }
307
  if ( $webdados_fb->is_woocommerce_active() && intval($this->options['fb_wc_usecategthumb'])==1 && ( is_product_category() || is_tax('product_brand') ) ) {
308
  if ( is_product_category() ) $debug[] = 'is_product_category';
309
  if ( intval($this->options['fb_image_show'])==1 || intval($this->options['fb_image_show_schema'])==1 || intval($this->options['fb_image_show_twitter'])==1 ) {
310
+ if ( $thumbnail_id = get_term_meta( $term->term_id, 'thumbnail_id', true ) ) {
311
  if ( $image = wp_get_attachment_url( $thumbnail_id ) ) {
312
  $fb_image = $image;
313
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/donate_fb_opengraph
4
  Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7, webdados
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
- Stable tag: 2.2.6
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
@@ -16,6 +16,8 @@ It also allows you to add the Twitter Card tags for more effective and efficient
16
 
17
  It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
18
 
 
 
19
  You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
20
 
21
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
@@ -168,6 +170,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
168
 
169
  == Changelog ==
170
 
 
 
 
171
  = 2.2.6 =
172
  * Add `og:image:url` and `og:image:secure_url` tags
173
  * Small tweaks on the image overlay functionality, including a new `fb_og_thumb_image` filter so you can have a diferent image overlay based on the post id
4
  Tags: facebook, open graph, open graph protocol, share, social, meta, rss, twitter card, twitter, schema, google+, g+, google, google plus, image, like, seo, search engine optimization, woocommerce, yoast seo, wordpress seo, woocommerce, subheading, php7, webdados
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
+ Stable tag: 2.2.6.1
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
16
 
17
  It also allows you to add the Meta Description tag and Schema.org Name, Description and Image tags for more effective and efficient Google+ sharing results.
18
 
19
+ **This plugin is not, in any way, affiliated or endorsed by Facebook, Twitter, Google or any other 3rd party.**
20
+
21
  You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and twitterfeed post the image to Facebook correctly.
22
 
23
  It allows the user to choose which tags are, or not, included and also the default image if the post/page doesn't have one.
170
 
171
  == Changelog ==
172
 
173
+ = 2.2.6.1 =
174
+ * Stop using the WooCommerce term meta helper functions
175
+
176
  = 2.2.6 =
177
  * Add `og:image:url` and `og:image:secure_url` tags
178
  * Small tweaks on the image overlay functionality, including a new `fb_og_thumb_image` filter so you can have a diferent image overlay based on the post id
wonderm00n-open-graph.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Open Graph for Facebook, Google+ and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
5
  Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
6
- Version: 2.2.6
7
  Author: Webdados
8
  Author URI: https://www.webdados.pt
9
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
@@ -13,7 +13,7 @@ WC tested up to: 3.6.0
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
- define( 'WEBDADOS_FB_VERSION', '2.2.6' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph for Facebook, Google+ and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );
3
  Plugin Name: Open Graph for Facebook, Google+ and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
5
  Description: Inserts Facebook Open Graph, Google+/Schema.org, Twitter Card and SEO Meta Tags into your WordPress Blog/Website for more effective and efficient Facebook, Google+ and Twitter sharing results. You can also choose to insert the "enclosure" and "media:content" tags to the RSS feeds, so that apps like RSS Graffiti and Twitterfeed post the image to Facebook correctly.
6
+ Version: 2.2.6.1
7
  Author: Webdados
8
  Author URI: https://www.webdados.pt
9
  Text Domain: wonderm00ns-simple-facebook-open-graph-tags
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
+ define( 'WEBDADOS_FB_VERSION', '2.2.6.1' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph for Facebook, Google+ and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );