Version Description
- When saving settings the $_POST array was showned for debug/development reasons. This output has been removed.
Download this release
Release Info
Developer | wonderm00n |
Plugin | Open Graph for Facebook, Google+ and Twitter Card Tags |
Version | 0.3.1 |
Comparing to | |
See all releases |
Code changes from version 0.3 to 0.3.1
- readme.txt +5 -1
- wonderm00n-open-graph.php +3 -3
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, seo, share, social, meta
|
5 |
Requires at least: 3
|
6 |
Tested up to: 3.4.2
|
7 |
-
Stable tag: 0.3
|
8 |
|
9 |
This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective Facebook sharing results.
|
10 |
|
@@ -35,6 +35,10 @@ The tags that this plugin inserts are:
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
38 |
= 0.3 =
|
39 |
|
40 |
* "SubHeading" plugin integration. It's now possible add this field to the "og:title" tag.
|
4 |
Tags: facebook, open graph, seo, share, social, meta
|
5 |
Requires at least: 3
|
6 |
Tested up to: 3.4.2
|
7 |
+
Stable tag: 0.3.1
|
8 |
|
9 |
This plugin inserts Facebook Open Graph Tags into your WordPress Blog/Website for more effective Facebook sharing results.
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 0.3.1 =
|
39 |
+
|
40 |
+
* When saving settings the $_POST array was showned for debug/development reasons. This output has been removed.
|
41 |
+
|
42 |
= 0.3 =
|
43 |
|
44 |
* "SubHeading" plugin integration. It's now possible add this field to the "og:title" tag.
|
wonderm00n-open-graph.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Wonderm00n's Simple Facebook Open Graph Meta Tags
|
4 |
-
* @version 0.3
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Wonderm00n's Simple Facebook Open Graph Meta Tags
|
@@ -12,7 +12,7 @@ Version: 0.3
|
|
12 |
Author URI: http://wonderm00n.com
|
13 |
*/
|
14 |
|
15 |
-
$wonderm00n_open_graph_plugin_version='0.3';
|
16 |
$wonderm00n_open_graph_plugin_settings=array(
|
17 |
'fb_app_id_show',
|
18 |
'fb_app_id',
|
@@ -384,7 +384,7 @@ if ( is_admin() ) {
|
|
384 |
|
385 |
if ( isset($_POST['action']) ) {
|
386 |
if (trim($_POST['action'])=='save') {
|
387 |
-
print_r($_POST);
|
388 |
//This should also use the $wonderm00n_open_graph_plugin_settings array, but because of intval and trim we still can't
|
389 |
update_option('wonderm00n_open_graph_fb_app_id_show', intval($_POST['fb_app_id_show']));
|
390 |
update_option('wonderm00n_open_graph_fb_app_id', trim($_POST['fb_app_id']));
|
1 |
<?php
|
2 |
/**
|
3 |
* @package Wonderm00n's Simple Facebook Open Graph Meta Tags
|
4 |
+
* @version 0.3.1
|
5 |
*/
|
6 |
/*
|
7 |
Plugin Name: Wonderm00n's Simple Facebook Open Graph Meta Tags
|
12 |
Author URI: http://wonderm00n.com
|
13 |
*/
|
14 |
|
15 |
+
$wonderm00n_open_graph_plugin_version='0.3.1';
|
16 |
$wonderm00n_open_graph_plugin_settings=array(
|
17 |
'fb_app_id_show',
|
18 |
'fb_app_id',
|
384 |
|
385 |
if ( isset($_POST['action']) ) {
|
386 |
if (trim($_POST['action'])=='save') {
|
387 |
+
//print_r($_POST);
|
388 |
//This should also use the $wonderm00n_open_graph_plugin_settings array, but because of intval and trim we still can't
|
389 |
update_option('wonderm00n_open_graph_fb_app_id_show', intval($_POST['fb_app_id_show']));
|
390 |
update_option('wonderm00n_open_graph_fb_app_id', trim($_POST['fb_app_id']));
|