Version Description
- Fix og: link broken (facebook)
Download this release
Release Info
Developer | JoomUnited |
Plugin | WP Meta SEO |
Version | 1.7.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.2 to 1.7.3
- readme.txt +5 -2
- wp-meta-seo.php +8 -4
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: JoomUnited
|
|
3 |
Tags: google, webmaster tools, keywords, meta, meta description, meta keywords, meta title, robots meta, search engine optimization, seo, wordpress seo, yahoo, image optimization, image resize, custom post seo
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.4.1
|
6 |
-
Stable tag: 1.7.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -174,6 +174,9 @@ This manual SEO validation on click on the reload analysis button.
|
|
174 |
|
175 |
== Changelog ==
|
176 |
|
|
|
|
|
|
|
177 |
= 1.7.2 =
|
178 |
* Page title as content title or as SEO meta title (option)
|
179 |
|
@@ -276,4 +279,4 @@ Site-wide SEO: it's more about your whole site and structure between multiple ar
|
|
276 |
|
277 |
And... don't forget to check each month your SEO dashboard :)
|
278 |
|
279 |
-
PHP 5.3+, WP 4.3+
|
3 |
Tags: google, webmaster tools, keywords, meta, meta description, meta keywords, meta title, robots meta, search engine optimization, seo, wordpress seo, yahoo, image optimization, image resize, custom post seo
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 4.4.1
|
6 |
+
Stable tag: 1.7.3
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
174 |
|
175 |
== Changelog ==
|
176 |
|
177 |
+
= 1.7.3 =
|
178 |
+
* Fix og: link broken (facebook)
|
179 |
+
|
180 |
= 1.7.2 =
|
181 |
* Page title as content title or as SEO meta title (option)
|
182 |
|
279 |
|
280 |
And... don't forget to check each month your SEO dashboard :)
|
281 |
|
282 |
+
PHP 5.3+, WP 4.3+
|
wp-meta-seo.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: WP Meta SEO
|
5 |
* Plugin URI: http://www.joomunited.com/wordpress-products/wp-meta-seo
|
6 |
* Description: WP Meta SEO is a plugin for WordPress to fill meta for content, images and main SEO info in a single view.
|
7 |
-
* Version: 1.7.
|
8 |
* Text Domain: wp-meta-seo
|
9 |
* Domain Path: /languages
|
10 |
* Author: JoomUnited
|
@@ -47,7 +47,7 @@ if (!defined('URL'))
|
|
47 |
define('URL', get_site_url());
|
48 |
|
49 |
if (!defined('WPMSEO_VERSION'))
|
50 |
-
define('WPMSEO_VERSION', '1.7.
|
51 |
|
52 |
if (!defined('WPMSEO_FILE'))
|
53 |
define('WPMSEO_FILE', __FILE__);
|
@@ -192,7 +192,7 @@ if (is_admin()) {
|
|
192 |
$meta_title = $meta_title_esc = $meta_facebook_title = $meta_twitter_title = esc_attr($term->name);
|
193 |
$meta_description_esc = $meta_facebook_desc = $meta_twitter_desc = esc_attr($term->description);
|
194 |
}
|
195 |
-
|
196 |
$patterns = array(
|
197 |
'twitter_image' => array(
|
198 |
'#<meta name="twitter:image" [^<>]+ ?>#i',
|
@@ -236,6 +236,10 @@ if (is_admin()) {
|
|
236 |
'#<meta property="og:description" [^<>]+ ?>#i',
|
237 |
'<meta property="og:description" content="' . $meta_facebook_desc . '" />',
|
238 |
($meta_facebook_desc != '' ? true : false)),
|
|
|
|
|
|
|
|
|
239 |
'og:title' => array(
|
240 |
'#<meta property="og:title" [^<>]+ ?>#i',
|
241 |
'<meta property="og:title" content="' . $meta_facebook_title . '" />',
|
@@ -439,4 +443,4 @@ function text_link( $field, $meta ) {
|
|
439 |
echo '<input class="cmb_link_button button" type="button" value="Voeg link toe" />','<p class="cmb_metabox_description">', $field['desc'], '</p>';
|
440 |
}
|
441 |
add_action( 'cmb_render_text_link', 'text_link', 10, 2 );
|
442 |
-
/**********************************************************************************/
|
4 |
* Plugin Name: WP Meta SEO
|
5 |
* Plugin URI: http://www.joomunited.com/wordpress-products/wp-meta-seo
|
6 |
* Description: WP Meta SEO is a plugin for WordPress to fill meta for content, images and main SEO info in a single view.
|
7 |
+
* Version: 1.7.3
|
8 |
* Text Domain: wp-meta-seo
|
9 |
* Domain Path: /languages
|
10 |
* Author: JoomUnited
|
47 |
define('URL', get_site_url());
|
48 |
|
49 |
if (!defined('WPMSEO_VERSION'))
|
50 |
+
define('WPMSEO_VERSION', '1.7.3');
|
51 |
|
52 |
if (!defined('WPMSEO_FILE'))
|
53 |
define('WPMSEO_FILE', __FILE__);
|
192 |
$meta_title = $meta_title_esc = $meta_facebook_title = $meta_twitter_title = esc_attr($term->name);
|
193 |
$meta_description_esc = $meta_facebook_desc = $meta_twitter_desc = esc_attr($term->description);
|
194 |
}
|
195 |
+
$current_url = esc_url($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]);
|
196 |
$patterns = array(
|
197 |
'twitter_image' => array(
|
198 |
'#<meta name="twitter:image" [^<>]+ ?>#i',
|
236 |
'#<meta property="og:description" [^<>]+ ?>#i',
|
237 |
'<meta property="og:description" content="' . $meta_facebook_desc . '" />',
|
238 |
($meta_facebook_desc != '' ? true : false)),
|
239 |
+
'og:url' => array(
|
240 |
+
'#<meta property="og:url" [^<>]+ ?>#i',
|
241 |
+
'<meta property="og:url" content="' . $current_url . '" />',
|
242 |
+
($current_url != '' ? true : false)),
|
243 |
'og:title' => array(
|
244 |
'#<meta property="og:title" [^<>]+ ?>#i',
|
245 |
'<meta property="og:title" content="' . $meta_facebook_title . '" />',
|
443 |
echo '<input class="cmb_link_button button" type="button" value="Voeg link toe" />','<p class="cmb_metabox_description">', $field['desc'], '</p>';
|
444 |
}
|
445 |
add_action( 'cmb_render_text_link', 'text_link', 10, 2 );
|
446 |
+
/**********************************************************************************/
|