Version Description
- Update sql sentences to improve query speed
Download this release
Release Info
Developer | JoomUnited |
Plugin | WP Meta SEO |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- inc/class.metaseo-admin.php +5 -4
- readme.txt +5 -2
- wp-meta-seo.php +2 -2
inc/class.metaseo-admin.php
CHANGED
@@ -90,22 +90,23 @@ class MetaSeo_Admin {
|
|
90 |
require_once(ABSPATH.'wp-admin/includes/upgrade.php');
|
91 |
dbDelta($sql);
|
92 |
|
93 |
-
|
94 |
-
|
|
|
95 |
|
96 |
if(empty($row)){
|
97 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD follow tinyint(1) DEFAULT 1");
|
98 |
}
|
99 |
|
100 |
$row = $wpdb->get_results( "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
|
101 |
-
WHERE table_name = '".$wpdb->prefix."wpms_links' AND column_name = 'meta_title'"
|
102 |
|
103 |
if(empty($row)){
|
104 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD meta_title varchar(250) DEFAULT ''");
|
105 |
}
|
106 |
|
107 |
$row = $wpdb->get_results( "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
|
108 |
-
WHERE table_name = '".$wpdb->prefix."wpms_links' AND column_name = 'internal'"
|
109 |
|
110 |
if(empty($row)){
|
111 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD internal tinyint(1) DEFAULT 1");
|
90 |
require_once(ABSPATH.'wp-admin/includes/upgrade.php');
|
91 |
dbDelta($sql);
|
92 |
|
93 |
+
|
94 |
+
$row = $wpdb->get_results( "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
|
95 |
+
WHERE table_name = '".$wpdb->prefix."wpms_links' AND column_name = 'follow' AND TABLE_SCHEMA = '". $wpdb->dbname. "'" );
|
96 |
|
97 |
if(empty($row)){
|
98 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD follow tinyint(1) DEFAULT 1");
|
99 |
}
|
100 |
|
101 |
$row = $wpdb->get_results( "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
|
102 |
+
WHERE table_name = '".$wpdb->prefix."wpms_links' AND column_name = 'meta_title' AND TABLE_SCHEMA = '". $wpdb->dbname. "'" );
|
103 |
|
104 |
if(empty($row)){
|
105 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD meta_title varchar(250) DEFAULT ''");
|
106 |
}
|
107 |
|
108 |
$row = $wpdb->get_results( "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS
|
109 |
+
WHERE table_name = '".$wpdb->prefix."wpms_links' AND column_name = 'internal' AND TABLE_SCHEMA = '". $wpdb->dbname."'" );
|
110 |
|
111 |
if(empty($row)){
|
112 |
$wpdb->query("ALTER TABLE ".$wpdb->prefix."wpms_links ADD internal tinyint(1) DEFAULT 1");
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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, redirect, redirection, 301, broken link
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 4.5.
|
6 |
-
Stable tag: 2.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -205,6 +205,9 @@ This manual SEO validation on click on the reload analysis button.
|
|
205 |
|
206 |
== Changelog ==
|
207 |
|
|
|
|
|
|
|
208 |
= 2.2.0 =
|
209 |
* Follow/Nofollow bulk link edition
|
210 |
* Link re-index tool from the bulk link editor
|
2 |
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, redirect, redirection, 301, broken link
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 4.5.2
|
6 |
+
Stable tag: 2.2.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
205 |
|
206 |
== Changelog ==
|
207 |
|
208 |
+
= 2.2.1 =
|
209 |
+
* Update sql sentences to improve query speed
|
210 |
+
|
211 |
= 2.2.0 =
|
212 |
* Follow/Nofollow bulk link edition
|
213 |
* Link re-index tool from the bulk link editor
|
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: 2.2.
|
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', '2.2.
|
51 |
}
|
52 |
|
53 |
if (!defined('WPMSEO_FILE'))
|
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: 2.2.1
|
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', '2.2.1');
|
51 |
}
|
52 |
|
53 |
if (!defined('WPMSEO_FILE'))
|