Version Description
- Updated the error message when the Facebook cache is not updated, in order to include instructions and a link to setup the App ID and Secret
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 2.1.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.1.6 to 2.1.6.1
admin/class-webdados-fb-open-graph-admin.php
CHANGED
@@ -49,7 +49,7 @@ class Webdados_FB_Admin {
|
|
49 |
|
50 |
/* Settings link on the plugins page */
|
51 |
public function place_settings_link( $links ) {
|
52 |
-
$settings_link = '<a href="options-general.php?page=
|
53 |
// place it before other links
|
54 |
array_unshift( $links, $settings_link );
|
55 |
return $links;
|
@@ -320,10 +320,15 @@ class Webdados_FB_Admin {
|
|
320 |
<?php _e( 'This is NOT a plugin error.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
321 |
</strong>
|
322 |
<br/>
|
323 |
-
<?php _e( 'Do not open support tickets about this issue.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
324 |
-
<?php _e( 'Lately and unfortunately, Facebook is not allowing to update the cache programmatically.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
325 |
<br/>
|
326 |
-
|
|
|
|
|
|
|
|
|
|
|
327 |
</p>
|
328 |
</div>
|
329 |
<?php
|
49 |
|
50 |
/* Settings link on the plugins page */
|
51 |
public function place_settings_link( $links ) {
|
52 |
+
$settings_link = '<a href="options-general.php?page='.esc_attr( basename( __FILE__ ) ).'">' . __( 'Settings', 'wonderm00ns-simple-facebook-open-graph-tags' ) . '</a>';
|
53 |
// place it before other links
|
54 |
array_unshift( $links, $settings_link );
|
55 |
return $links;
|
320 |
<?php _e( 'This is NOT a plugin error.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
321 |
</strong>
|
322 |
<br/>
|
323 |
+
- <?php _e( 'Do not open support tickets about this issue.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
324 |
+
- <?php _e( 'Lately and unfortunately, Facebook is not allowing to update the cache programmatically.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
325 |
<br/>
|
326 |
+
- <?php _e( 'Have you already configured the App ID and App Secret, needed for flushing the cache on Facebook?', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?>
|
327 |
+
<a href="options-general.php?page=<?php echo esc_attr( basename( __FILE__ ) ); ?>"><?php _e( 'If you haven\'t, go to the settings page (Open Graph tab), and do it now.', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></a>
|
328 |
+
<br/>
|
329 |
+
or
|
330 |
+
<br/>
|
331 |
+
- <a href="https://developers.facebook.com/tools/debug/sharing/?q=<?php echo urlencode(get_permalink($post->ID)); ?>" target="_blank"><?php _e( 'Click here to try to clear the cache manually and then click "Scrape Again"', 'wonderm00ns-simple-facebook-open-graph-tags' ); ?></a>
|
332 |
</p>
|
333 |
</div>
|
334 |
<?php
|
lang/wonderm00ns-simple-facebook-open-graph-tags.pot
CHANGED
@@ -4,7 +4,7 @@ msgstr ""
|
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
|
6 |
"2.0.3\n"
|
7 |
-
"POT-Creation-Date: 2017-12-23 13:
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
@@ -40,7 +40,7 @@ msgstr ""
|
|
40 |
|
41 |
#: admin/class-webdados-fb-open-graph-admin.php:115
|
42 |
#: admin/class-webdados-fb-open-graph-admin.php:140
|
43 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
44 |
msgid "Use this image"
|
45 |
msgstr ""
|
46 |
|
@@ -60,7 +60,7 @@ msgid "Recommended size: %dx%dpx"
|
|
60 |
msgstr ""
|
61 |
|
62 |
#: admin/class-webdados-fb-open-graph-admin.php:139
|
63 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
64 |
msgid "Select image"
|
65 |
msgstr ""
|
66 |
|
@@ -95,7 +95,7 @@ msgid "Facebook Open Graph Tags cache updated/purged."
|
|
95 |
msgstr ""
|
96 |
|
97 |
#: admin/class-webdados-fb-open-graph-admin.php:305
|
98 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
99 |
msgid "Share this on Facebook"
|
100 |
msgstr ""
|
101 |
|
@@ -119,10 +119,21 @@ msgstr ""
|
|
119 |
|
120 |
#: admin/class-webdados-fb-open-graph-admin.php:326
|
121 |
msgid ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
"Click here to try to clear the cache manually and then click \"Scrape Again\""
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin/class-webdados-fb-open-graph-admin.php:
|
126 |
msgid "Manually update Facebook cache"
|
127 |
msgstr ""
|
128 |
|
4 |
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
|
5 |
"Project-Id-Version: Facebook Open Graph, Google+ and Twitter Card Tags "
|
6 |
"2.0.3\n"
|
7 |
+
"POT-Creation-Date: 2017-12-23 13:41+0000\n"
|
8 |
"PO-Revision-Date: 2016-09-26 14:52+0100\n"
|
9 |
"Last-Translator: \n"
|
10 |
"Language-Team: \n"
|
40 |
|
41 |
#: admin/class-webdados-fb-open-graph-admin.php:115
|
42 |
#: admin/class-webdados-fb-open-graph-admin.php:140
|
43 |
+
#: admin/class-webdados-fb-open-graph-admin.php:408
|
44 |
msgid "Use this image"
|
45 |
msgstr ""
|
46 |
|
60 |
msgstr ""
|
61 |
|
62 |
#: admin/class-webdados-fb-open-graph-admin.php:139
|
63 |
+
#: admin/class-webdados-fb-open-graph-admin.php:407
|
64 |
msgid "Select image"
|
65 |
msgstr ""
|
66 |
|
95 |
msgstr ""
|
96 |
|
97 |
#: admin/class-webdados-fb-open-graph-admin.php:305
|
98 |
+
#: admin/class-webdados-fb-open-graph-admin.php:382
|
99 |
msgid "Share this on Facebook"
|
100 |
msgstr ""
|
101 |
|
119 |
|
120 |
#: admin/class-webdados-fb-open-graph-admin.php:326
|
121 |
msgid ""
|
122 |
+
"Have you already configured the App ID and App Secret, needed for flushing "
|
123 |
+
"the cache on Facebook?"
|
124 |
+
msgstr ""
|
125 |
+
|
126 |
+
#: admin/class-webdados-fb-open-graph-admin.php:327
|
127 |
+
msgid ""
|
128 |
+
"If you haven't, go to the settings page (Open Graph tab), and do it now."
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: admin/class-webdados-fb-open-graph-admin.php:331
|
132 |
+
msgid ""
|
133 |
"Click here to try to clear the cache manually and then click \"Scrape Again\""
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: admin/class-webdados-fb-open-graph-admin.php:381
|
137 |
msgid "Manually update Facebook cache"
|
138 |
msgstr ""
|
139 |
|
public/class-webdados-fb-open-graph-public.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 2.1.6
|
5 |
*/
|
6 |
|
7 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 2.1.6.1
|
5 |
*/
|
6 |
|
7 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
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: 4.9.1
|
7 |
-
Stable tag: 2.1.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 |
|
@@ -143,6 +143,9 @@ We DO NOT provide email support for this plugin. If you send us an email asking
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
146 |
= 2.1.6 =
|
147 |
* Added new "App ID" and "App Secret" settings on the "Facebook Open Graph Tags cache" panel, so that the plugin tries to clear the Facebook cache authenticated with you own App details
|
148 |
* Bumped `Tested up to` and `WC tested up to` 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: 4.9.1
|
7 |
+
Stable tag: 2.1.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 |
|
143 |
|
144 |
== Changelog ==
|
145 |
|
146 |
+
= 2.1.6.1 =
|
147 |
+
* Updated the error message when the Facebook cache is not updated, in order to include instructions and a link to setup the App ID and Secret
|
148 |
+
|
149 |
= 2.1.6 =
|
150 |
* Added new "App ID" and "App Secret" settings on the "Facebook Open Graph Tags cache" panel, so that the plugin tries to clear the Facebook cache authenticated with you own App details
|
151 |
* Bumped `Tested up to` and `WC tested up to` tags
|
wonderm00n-open-graph.php
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 2.1.6
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: https://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
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.
|
10 |
|
11 |
-
Version: 2.1.6
|
12 |
Author: Webdados
|
13 |
Author URI: https://www.webdados.pt
|
14 |
Text Domain: wonderm00ns-simple-facebook-open-graph-tags
|
@@ -18,7 +18,7 @@ WC tested up to: 3.2.6
|
|
18 |
|
19 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
20 |
|
21 |
-
define( 'WEBDADOS_FB_VERSION', '2.1.6' );
|
22 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
23 |
define( 'WEBDADOS_FB_W', 1200 );
|
24 |
define( 'WEBDADOS_FB_H', 630 );
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 2.1.6.1
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: https://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
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.
|
10 |
|
11 |
+
Version: 2.1.6.1
|
12 |
Author: Webdados
|
13 |
Author URI: https://www.webdados.pt
|
14 |
Text Domain: wonderm00ns-simple-facebook-open-graph-tags
|
18 |
|
19 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
20 |
|
21 |
+
define( 'WEBDADOS_FB_VERSION', '2.1.6.1' );
|
22 |
define( 'WEBDADOS_FB_PLUGIN_NAME', 'Facebook Open Graph, Google+ and Twitter Card Tags' );
|
23 |
define( 'WEBDADOS_FB_W', 1200 );
|
24 |
define( 'WEBDADOS_FB_H', 630 );
|