Version Description
- Fix: Replaces all spaces by %20 on URLs (og:url, og:image, etc...), thanks to "Doc75"
Download this release
Release Info
Developer | webdados |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 1.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.6.2
- readme.txt +4 -1
- wonderm00n-open-graph.php +10 -4
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.wonderm00n.com/2011/10/14/wordpress-plugin-simple-faceb
|
|
4 |
Tags: facebook, open graph, open graph protocol, seo, share, social, meta, twitter card, twitter, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.0.1
|
7 |
-
Stable tag: 1.6.
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
@@ -77,6 +77,9 @@ It allows the user to choose which tags are, or not, included and also the defau
|
|
77 |
|
78 |
== Changelog ==
|
79 |
|
|
|
|
|
|
|
80 |
= 1.6.1 =
|
81 |
* WPML compatibility: If the frontpage is set as "latest posts" and a custom homepage description is used, it can now be translated to other languages in WPML - String translation
|
82 |
|
4 |
Tags: facebook, open graph, open graph protocol, seo, share, social, meta, twitter card, twitter, schema, google+, g+, google, google plus, image, like, meta, search engine optimization
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.0.1
|
7 |
+
Stable tag: 1.6.2
|
8 |
Inserts Facebook Open Graph, Google+/Schema.org, Twitter and other Meta Tags into your WordPress Website for more efficient sharing results.
|
9 |
|
10 |
== Description ==
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 1.6.2 =
|
81 |
+
- Fix: Replaces all spaces by %20 on URLs (og:url, og:image, etc...), thanks to "Doc75"
|
82 |
+
|
83 |
= 1.6.1 =
|
84 |
* WPML compatibility: If the frontpage is set as "latest posts" and a custom homepage description is used, it can now be translated to other languages in WPML - String translation
|
85 |
|
wonderm00n-open-graph.php
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
-
* @version 1.6.
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card 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 |
-
Version: 1.6.
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
@@ -16,7 +16,7 @@ Domain Path: /lang
|
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
-
$webdados_fb_open_graph_plugin_version='1.6.
|
20 |
$webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
|
21 |
$webdados_fb_open_graph_plugin_settings=array(
|
22 |
'fb_app_id_show',
|
@@ -372,7 +372,13 @@ function webdados_fb_open_graph() {
|
|
372 |
$fb_image_size_show=0;
|
373 |
}
|
374 |
|
375 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
376 |
|
377 |
$html='
|
378 |
<!-- START - '.$webdados_fb_open_graph_plugin_name.' '.$webdados_fb_open_graph_plugin_version.' -->
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Facebook Open Graph, Google+ and Twitter Card Tags
|
4 |
+
* @version 1.6.2
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Facebook Open Graph, Google+ and Twitter Card Tags
|
8 |
Plugin URI: http://www.webdados.pt/produtos-e-servicos/internet/desenvolvimento-wordpress/facebook-open-graph-meta-tags-wordpress/
|
9 |
Description: Inserts Facebook Open Graph, Google+ / Schema.org and Twitter Card 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 |
+
Version: 1.6.2
|
11 |
Author: Webdados
|
12 |
Author URI: http://www.webdados.pt
|
13 |
Text Domain: wd-fb-og
|
16 |
|
17 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
18 |
|
19 |
+
$webdados_fb_open_graph_plugin_version='1.6.2';
|
20 |
$webdados_fb_open_graph_plugin_name='Facebook Open Graph, Google+ and Twitter Card Tags';
|
21 |
$webdados_fb_open_graph_plugin_settings=array(
|
22 |
'fb_app_id_show',
|
372 |
$fb_image_size_show=0;
|
373 |
}
|
374 |
|
375 |
+
//No spaces on URLs
|
376 |
+
if (trim($fb_url)!='') $fb_url= str_replace(' ', '%20', trim($fb_url));
|
377 |
+
if (trim($fb_publisher)!='') $fb_publisher= str_replace(' ', '%20', trim($fb_publisher));
|
378 |
+
if (trim($fb_publisher_schema)!='') $fb_publisher_schema= str_replace(' ', '%20', trim($fb_publisher_schema));
|
379 |
+
if (trim($fb_author)!='') $fb_author= str_replace(' ', '%20', trim($fb_author));
|
380 |
+
if (trim($fb_author_linkrelgp)!='') $fb_author_linkrelgp= str_replace(' ', '%20', trim($fb_author_linkrelgp));
|
381 |
+
if (trim($fb_image)!='') $fb_image= str_replace(' ', '%20', trim($fb_image));
|
382 |
|
383 |
$html='
|
384 |
<!-- START - '.$webdados_fb_open_graph_plugin_name.' '.$webdados_fb_open_graph_plugin_version.' -->
|