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

Version Description

  • Small security fix
Download this release

Release Info

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

Code changes from version 2.2.4 to 2.2.4.1

admin/class-webdados-fb-open-graph-admin.php CHANGED
@@ -306,7 +306,7 @@ class Webdados_FB_Admin {
306
  if ( $screen = get_current_screen() ) {
307
  if ( $screen->parent_base=='edit' && $screen->base=='post' ) {
308
  global $post;
309
- switch ( $_GET['wd_fb_og_status'] ) {
310
  case '1':
311
  ?>
312
  <div class="updated">
@@ -321,7 +321,7 @@ class Webdados_FB_Admin {
321
  <div class="error">
322
  <p><?php
323
  echo '<strong>'.__('Error: Facebook Open Graph Tags cache NOT updated/purged.', 'wonderm00ns-simple-facebook-open-graph-tags').'</strong>';
324
- if ( isset($_GET['wd_fb_og_error']) ) echo '<br/>'.$_GET['wd_fb_og_error'];
325
  ?></p>
326
  <p>
327
  <strong>
306
  if ( $screen = get_current_screen() ) {
307
  if ( $screen->parent_base=='edit' && $screen->base=='post' ) {
308
  global $post;
309
+ switch ( intval( $_GET['wd_fb_og_status'] ) ) {
310
  case '1':
311
  ?>
312
  <div class="updated">
321
  <div class="error">
322
  <p><?php
323
  echo '<strong>'.__('Error: Facebook Open Graph Tags cache NOT updated/purged.', 'wonderm00ns-simple-facebook-open-graph-tags').'</strong>';
324
+ if ( isset($_GET['wd_fb_og_error']) ) echo '<br/>'.sanitize_text_field( $_GET['wd_fb_og_error'] );
325
  ?></p>
326
  <p>
327
  <strong>
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
5
  Requires at least: 4.5
6
  Tested up to: 5.0-alpha-42610
7
- Stable tag: 2.2.4
8
 
9
  Inserts Facebook Open Graph, Google+/Schema.org, Twitter and SEO Meta Tags into your WordPress Website for more efficient sharing results.
10
 
@@ -157,6 +157,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
157
 
158
  == Changelog ==
159
 
 
 
 
160
  = 2.2.4 =
161
  * Added Pinterest information on que FAQ
162
  * Changed name to "Facebook Open Graph, Google+ and Twitter Card Tags"
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
5
  Requires at least: 4.5
6
  Tested up to: 5.0-alpha-42610
7
+ Stable tag: 2.2.4.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
 
157
 
158
  == Changelog ==
159
 
160
+ = 2.2.4.1 =
161
+ * Small security fix
162
+
163
  = 2.2.4 =
164
  * Added Pinterest information on que FAQ
165
  * Changed name to "Facebook Open Graph, Google+ and Twitter Card Tags"
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.4
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.3
13
 
14
  if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
15
 
16
- define( 'WEBDADOS_FB_VERSION', '2.2.4' );
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.4.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.4.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 );