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

Version Description

  • PHP notice bug fix on the image overlay script
Download this release

Release Info

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

Code changes from version 2.3.1 to 2.3.2

public/class-webdados-fb-open-graph-public.php CHANGED
@@ -563,7 +563,8 @@ class Webdados_FB_Public {
563
  $img_overlay_params = array(
564
  'is_home' => is_home(),
565
  'is_front_page' => is_front_page(),
566
- 'object_type' => ''
 
567
  );
568
  if ( $object = get_queried_object() ) {
569
  switch( get_class( $object ) ) {
@@ -571,6 +572,7 @@ class Webdados_FB_Public {
571
  // $this->is_posts_page || $this->is_singular
572
  $img_overlay_params['object_type'] = 'post';
573
  $img_overlay_params['object_id'] = $object->ID;
 
574
  break;
575
  case 'WP_Post_Type':
576
  // $this->is_post_type_archive
563
  $img_overlay_params = array(
564
  'is_home' => is_home(),
565
  'is_front_page' => is_front_page(),
566
+ 'object_type' => '',
567
+ 'post_id' => '' //Legacy support - do not remove
568
  );
569
  if ( $object = get_queried_object() ) {
570
  switch( get_class( $object ) ) {
572
  // $this->is_posts_page || $this->is_singular
573
  $img_overlay_params['object_type'] = 'post';
574
  $img_overlay_params['object_id'] = $object->ID;
575
+ $img_overlay_params['post_id'] = $object->ID;
576
  break;
577
  case 'WP_Post_Type':
578
  // $this->is_post_type_archive
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://bit.ly/donate_fb_opengraph
4
  Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, 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.5
7
- Stable tag: 2.3.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
 
@@ -170,6 +170,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
170
 
171
  == Changelog ==
172
 
 
 
 
173
  = 2.3.1 =
174
  * PHP notice bug fix
175
 
4
  Tags: facebook, open graph, twitter card, social media, open graph protocol, share, social, meta, rss, 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.5
7
+ Stable tag: 2.3.2
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
170
 
171
  == Changelog ==
172
 
173
+ = 2.3.2 =
174
+ * PHP notice bug fix on the image overlay script
175
+
176
  = 2.3.1 =
177
  * PHP notice bug fix
178
 
wonderm00n-open-graph.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Open Graph and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/wordpress/plugins/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.3.1
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: 4.1.0
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
- define( 'WEBDADOS_FB_VERSION', '2.3.1' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );
3
  Plugin Name: Open Graph and Twitter Card Tags
4
  Plugin URI: https://www.webdados.pt/wordpress/plugins/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.3.2
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.3.2' );
17
  define( 'WEBDADOS_FB_PLUGIN_NAME', 'Open Graph and Twitter Card Tags' );
18
  define( 'WEBDADOS_FB_W', 1200 );
19
  define( 'WEBDADOS_FB_H', 630 );