WP Meta SEO - Version 4.0.6

Version Description

  • Add : Quick SEO content preview style for WordPress 5.2
    • Fix : Bulk action and meta bulk apply to all images
    • Fix : Resize and edit meta information in image editor
    • Fix : Put back the sitemap URL instead of the server path
    • Fix : Add short description for WooCommerce in SEO analysis
Download this release

Release Info

Developer JoomUnited
Plugin Icon 128x128 WP Meta SEO
Version 4.0.6
Comparing to
See all releases

Code changes from version 4.0.5 to 4.0.6

assets/css/dashboard_widgets.css CHANGED
@@ -111,10 +111,11 @@
111
position: absolute;
112
bottom: 5px;
113
left: 5px;
114
}
115
116
.wpms_dashboard_widgets_left .percent_1{
117
- margin: 12px 0 10px 0 !important;
118
float: left;
119
}
120
111
position: absolute;
112
bottom: 5px;
113
left: 5px;
114
+ line-height: 1.4em;
115
}
116
117
.wpms_dashboard_widgets_left .percent_1{
118
+ margin: 13px 0 3px 0 !important;
119
float: left;
120
}
121
assets/js/metaseo_admin.js CHANGED
@@ -563,6 +563,9 @@ function saveChanges(element_id, post_id, meta_type, meta_value) {
563
);
564
}
565
566
} else {
567
element.val(response.iname);
568
savedInfo.removeClass('metaseo-msg-success').addClass('metaseo-msg-warning')
@@ -812,6 +815,9 @@ function optimize_imgs(element) {
812
var img = jQuery('[data-img-post-id="' + img_post_id + '"]');
813
_metaSeoScanImages({'name': img.data('name'), 'img_post_id': img_post_id});
814
815
} else {
816
$this.parent().find('span.spinner').hide();
817
$this.parent().find('p.metaseo-msg').removeClass('msg-success').addClass('msg-error');
563
);
564
}
565
566
+ if (typeof response.type_change !== "undefined" && response.type_change === 'edit_meta_alt') {
567
+ jQuery('#img-alt-' + element.data('img-post-id')).val(element.val());
568
+ }
569
} else {
570
element.val(response.iname);
571
savedInfo.removeClass('metaseo-msg-success').addClass('metaseo-msg-warning')
815
var img = jQuery('[data-img-post-id="' + img_post_id + '"]');
816
_metaSeoScanImages({'name': img.data('name'), 'img_post_id': img_post_id});
817
818
+ setTimeout(function(){
819
+ window.location.reload(true);
820
+ }, 1000);
821
} else {
822
$this.parent().find('span.spinner').hide();
823
$this.parent().find('p.metaseo-msg').removeClass('msg-success').addClass('msg-error');
inc/class.metaseo-admin.php CHANGED
@@ -1005,6 +1005,26 @@ class MetaSeoAdmin
1005
return $content;
1006
}
1007
1008
/**
1009
* Ajax load page analysis
1010
*
@@ -1064,6 +1084,8 @@ class MetaSeoAdmin
1064
1065
$content = $this->injectAcfField($content, $_POST['datas']['post_id']);
1066
1067
if (isset($_POST['datas']['first_load']) && !empty($meta_analysis) && !empty($meta_analysis['heading_title'])) {
1068
$output .= $this->createFieldAnalysis(
1069
'heading_title',
@@ -1301,9 +1323,12 @@ class MetaSeoAdmin
1301
);
1302
$check ++;
1303
} else {
1304
if ($_POST['datas']['editor'] === 'gutenberg') {
1305
- $infos = pathinfo($_POST['datas']['mpageurl']);
1306
- $mpageurl = $infos['filename'];
1307
} else {
1308
$mpageurl = $_POST['datas']['mpageurl'];
1309
}
@@ -1432,8 +1457,8 @@ class MetaSeoAdmin
1432
$img_wrong = false;
1433
} else {
1434
if (!empty($width_origin) && !empty($height_origin)) {
1435
- if (((int) $width_origin !== (int) $tag['attributes']['width'])
1436
- || ((int) $height_origin !== (int) $tag['attributes']['height'])) {
1437
$img_wrong = true;
1438
}
1439
}
@@ -3352,8 +3377,8 @@ class MetaSeoAdmin
3352
3353
foreach ($attachments as $attachment) {
3354
$i_info_url = pathinfo($attachment->guid);
3355
- switch ($_POST['mtype']) {
3356
- case 'image_alt':
3357
$value = $i_info_url['filename'];
3358
/**
3359
* Filter before update meta for image
@@ -3369,7 +3394,7 @@ class MetaSeoAdmin
3369
update_post_meta($attachment->ID, '_wp_attachment_image_alt', $value);
3370
break;
3371
3372
- case 'image_title':
3373
$value = $i_info_url['filename'];
3374
/**
3375
* Filter before update meta for image
1005
return $content;
1006
}
1007
1008
+ /**
1009
+ * Inject Woocommerce short description to content
1010
+ *
1011
+ * @param string $content Post content
1012
+ * @param integer $post_id Post ID
1013
+ *
1014
+ * @return string
1015
+ */
1016
+ public function injectWooCommerce($content, $post_id)
1017
+ {
1018
+ if (class_exists('WooCommerce')) {
1019
+ $post = get_post($post_id);
1020
+
1021
+ if (!empty($post->post_excerpt)) {
1022
+ $content .= '' . $post->post_excerpt;
1023
+ }
1024
+ }
1025
+
1026
+ return $content;
1027
+ }
1028
/**
1029
* Ajax load page analysis
1030
*
1084
1085
$content = $this->injectAcfField($content, $_POST['datas']['post_id']);
1086
1087
+ $content = $this->injectWooCommerce($content, $_POST['datas']['post_id']);
1088
+
1089
if (isset($_POST['datas']['first_load']) && !empty($meta_analysis) && !empty($meta_analysis['heading_title'])) {
1090
$output .= $this->createFieldAnalysis(
1091
'heading_title',
1323
);
1324
$check ++;
1325
} else {
1326
+ $mpageurl = '';
1327
if ($_POST['datas']['editor'] === 'gutenberg') {
1328
+ if (isset($_POST['datas']['mpageurl'])) {
1329
+ $infos = pathinfo($_POST['datas']['mpageurl']);
1330
+ $mpageurl = $infos['filename'];
1331
+ }
1332
} else {
1333
$mpageurl = $_POST['datas']['mpageurl'];
1334
}
1457
$img_wrong = false;
1458
} else {
1459
if (!empty($width_origin) && !empty($height_origin)) {
1460
+ if ((isset($tag['attributes']['width']) && (int) $width_origin !== (int) $tag['attributes']['width'])
1461
+ || (isset($tag['attributes']['height']) && (int) $height_origin !== (int) $tag['attributes']['height'])) {
1462
$img_wrong = true;
1463
}
1464
}
3377
3378
foreach ($attachments as $attachment) {
3379
$i_info_url = pathinfo($attachment->guid);
3380
+ switch ($_POST['action_name']) {
3381
+ case 'img-copy-alt':
3382
$value = $i_info_url['filename'];
3383
/**
3384
* Filter before update meta for image
3394
update_post_meta($attachment->ID, '_wp_attachment_image_alt', $value);
3395
break;
3396
3397
+ case 'img-copy-title':
3398
$value = $i_info_url['filename'];
3399
/**
3400
* Filter before update meta for image
inc/class.metaseo-image-list-table.php CHANGED
@@ -694,6 +694,15 @@ class MetaSeoImageListTable extends WP_List_Table
694
695
$upload_dir = wp_upload_dir();
696
$img_path = $upload_dir['basedir'] . '/' . $img_meta['file'];
697
//Get the date that image was uploaded
698
$img_date = get_the_date('', $rec->ID);
699
//Get image size
@@ -1888,6 +1897,7 @@ class MetaSeoImageListTable extends WP_List_Table
1888
}
1889
update_option('wpms_last_update_post', time());
1890
$response->updated = true;
1891
$response->msg = ucfirst($meta_type) . esc_html__(' was saved', 'wp-meta-seo');
1892
}
1893
} else {
694
695
$upload_dir = wp_upload_dir();
696
$img_path = $upload_dir['basedir'] . '/' . $img_meta['file'];
697
+
698
+ $size_optional = get_post_meta($rec->ID, '_metaseo_sizes_optional', true);
699
+ if (!empty($size_optional)) {
700
+ $last = end($size_optional);
701
+ if (isset($last['url'])) {
702
+ $img_path = str_replace($upload_dir['baseurl'], $upload_dir['basedir'], $last['url']);
703
+ }
704
+ }
705
+
706
//Get the date that image was uploaded
707
$img_date = get_the_date('', $rec->ID);
708
//Get image size
1897
}
1898
update_option('wpms_last_update_post', time());
1899
$response->updated = true;
1900
+ $response->type_change = 'edit_meta_alt';
1901
$response->msg = ucfirst($meta_type) . esc_html__(' was saved', 'wp-meta-seo');
1902
}
1903
} else {
inc/class.metaseo-sitemap.php CHANGED
@@ -363,7 +363,7 @@ class MetaSeoSitemap
363
}
364
}
365
echo '<input readonly id="wpms_sitemap_link" name="_metaseo_settings_sitemap[wpms_sitemap_link]"
366
- type="text" value="' . esc_attr($value) . '" size="50" class="wpms-large-input wpms-no-margin wpms_width_90" />';
367
echo '<a class="wpms-open-xml-sitemap ju-button orange-button waves-effect waves-light wpms-small-btn" href="' . esc_url($link) . '" target="_blank">' . esc_html__('Open', 'wp-meta-seo') . '</a>';
368
}
369
363
}
364
}
365
echo '<input readonly id="wpms_sitemap_link" name="_metaseo_settings_sitemap[wpms_sitemap_link]"
366
+ type="text" value="' . esc_attr($link) . '" size="50" class="wpms-large-input wpms-no-margin wpms_width_90" />';
367
echo '<a class="wpms-open-xml-sitemap ju-button orange-button waves-effect waves-light wpms-small-btn" href="' . esc_url($link) . '" target="_blank">' . esc_html__('Open', 'wp-meta-seo') . '</a>';
368
}
369
languages/wp-meta-seo-en_US.mo CHANGED
Binary file
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: 5.1.1
6
- Stable tag: 4.0.5
7
Requires PHP: 5.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -12,7 +12,7 @@ WP Meta SEO gives you the control over all your meta content and images. Bulk SE
12
13
== Description ==
14
15
- = WP meta SEO got 9 major functionalities: =
16
17
* Bulk edit all website meta on a single view
18
* Edit meta in content with live SEO analysis
@@ -24,11 +24,13 @@ WP Meta SEO gives you the control over all your meta content and images. Bulk SE
24
* Generate XML and HTML sitemaps
25
* Facebook and Twitter social sharing custom elements per content
26
* Breadcrumb generator
27
- * Gutenberg new WordPress content ediotor compatible!
28
29
- > <strong>Features included in WP Meta SEO Addon</strong><br>
30
> * Google Search Console keyword suggestion in content
31
- > * Add local businass information
32
> * Email SEO report: SEO data
33
> * Email SEO report: Google Analytics data
34
> * Duplicate meta check
@@ -41,12 +43,10 @@ WP Meta SEO gives you the control over all your meta content and images. Bulk SE
41
> * Google Search Console error import and fix
42
> * And more!
43
44
- > <a href="https://www.joomunited.com/wordpress-products/wp-meta-seo" rel="friend">More information and feature details here!</a>
45
46
- **<a href="https://addendio.com/try-plugin/?slug=wp-meta-seo" rel="friend">Still not sure! test the plugin live on a sandbox demo website</a>**
47
48
-
49
- = Bulk meta edition and image resizing =
50
51
Editing meta information on an existing website can be veeeery long, open each post, edit, close it, open again and almost nobody was doing it. Especially if you need to edit content + image meta.
52
WP Meta SEO is going to list all posts, pages, custom post types and all images. Type your meta content and fix image size and everything is AJAX saved.
@@ -58,9 +58,9 @@ Plus, a bulk copy feature is available to save tons of time in your SEO optimiza
58
* Optional keyword edition
59
60
A bunch of people reduce the size of the pictures in content using handles that results to a HTML resizing. And that's something wrong for SEO, for page loading time and for image quality.
61
- WP Meta SEO also include this feature in the bulk edition view, you are notified and you can now optimize the size of your images in articles, click fix and it's replaced in your content (no broken links).
62
63
- = On page SEO optimization and analysis =
64
65
* Content SEO smart analysis bellow content
66
* Google Search Console keyword suggestion in content
@@ -76,11 +76,11 @@ WP Meta SEO also include this feature in the bulk edition view, you are notified
76
* Check: Wrong image resizing
77
* Check: Image meta title or alt
78
* Check the Page builders content (Text, HTML, Heading content):
79
- Visual composer, DIVI Builder, Beaver Builder, ACF, Site Origine, Themify builder, Live composer, Elementor
80
81
- = 404 and redirect manager =
82
83
- 404 errors are really bad for user experience and for your backlinks, Google hates it too: this is something that has to be fixed to improve your SEO.
84
The redirect manager will help you to fix all types of 404 errors you can encounter on your website.
85
86
* Index all 404 errors from external source (external websites)
@@ -90,22 +90,17 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
90
* Index all 404 types: URL and images
91
* Monitor the 404 hits number
92
* Flush existing indexed URLs and hits number
93
94
- = Google Analytics =
95
96
* Enable analytics statistics in 2 clicks with token access
97
* Tracking options to exclude WordPress user groups
98
* File download statistics
99
* Display Analytics statistics: session, users, organic, page views, bounce, location, pages, referrer, searches, traffic, technology
100
101
- = 404 custom page =
102
-
103
- * Setup the 404 page as a custom page of your choice
104
- * Setup the 404 page with the WP Meta SEO one
105
- * Use the default theme 404 page
106
- * WP Meta SEO 404 page is editable like any other WordPress page
107
108
- = XML sitemap & HTML sitemap =
109
110
* Generate automatically xml sitemap
111
* Generate automatically HTML sitemap
@@ -113,7 +108,7 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
113
* Setup update frequency and priority for each sitemap link
114
* Crawl all sitemap URL for errors
115
116
- = Breadcrumb generator =
117
118
* Rich snippet breadcrumb
119
* Control breadcrumb separator, links and display
@@ -126,10 +121,9 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
126
[vimeo https://vimeo.com/113695156]
127
128
129
- = SEO full features list =
130
131
* Reduce page weight by fixing HTML image resizing
132
- * All alt tags edition on single view
133
* See all your snippet in one view
134
* Image name, title, description and legend
135
* Dashboard SEO check
@@ -137,19 +131,12 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
137
* On page analysis: fix SEO criteria
138
* Custom post type meta edition
139
* All custom post type and WooCommerce SEO optimization
140
- * Yoast SEO import & sync
141
- * All in one SEO importer and sync
142
* ImageRecycle image compression integration
143
- * Alexa traffic rank
144
- * Meta content filtering by type
145
- * Optimize images and replace all inside your content
146
* Live Google snippet preview
147
- * Edit images file name in single view
148
- * Filter content by post type: post, page, custom
149
- * Image date filtering
150
- * Content meta length limit (Google + Yahoo + Bing)
151
- * SEO problem warning
152
- * Bulk image resizing
153
* One click image title copy
154
* SEO bulk copy: Copy image name to image alt and/or image title
155
* SEO bulk copy: Copy content title to content meta title
@@ -160,18 +147,12 @@ The redirect manager will help you to fix all types of 404 errors you can encoun
160
* SEO 404 and redirect: Redirect all 404 in one click
161
* Check for SEO error: is robot.txt blocking search engine
162
* Bulk edit SEO link title in your content
163
- * Add SEO link title box in editor link manager
164
- * Follow/Nofollow bulk link edition
165
- * Follow/Nofollow on Wordpress content
166
- * Page title display as content title or SEO meta title
167
* Generate automatically xml sitemap
168
* Generate automatically HTML sitemap
169
- * Sitemap source: menu selection (can be any content type), post, category of post, pages, author content
170
- * Setup update frequency and priority for each sitemap link
171
- * Copy and sync a xml sitemap to root for external SEO tool
172
- * HTML sitemap display with 3 columns and display position for each type of content
173
- * Add link in the robot.txt
174
- * Google Ananlytics tracking and statistics display
175
176
= Main plugins from JoomUnited: =
177
@@ -277,6 +258,13 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
277
278
== Changelog ==
279
280
= 4.0.5 =
281
* Fix : Add index to improve the query performance
282
* Fix : Rredirect link with xlink
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: 5.2.0
6
+ Stable tag: 4.0.6
7
Requires PHP: 5.3
8
License: GPLv2 or later
9
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
13
== Description ==
14
15
+ ## WP Meta SEO plugin, main search engine optimization features
16
17
* Bulk edit all website meta on a single view
18
* Edit meta in content with live SEO analysis
24
* Generate XML and HTML sitemaps
25
* Facebook and Twitter social sharing custom elements per content
26
* Breadcrumb generator
27
+ * Gutenberg SEO content checker
28
+
29
+
30
+ ## WP Meta SEO Addon plugin (optional), additional search engine optimization
31
32
> * Google Search Console keyword suggestion in content
33
+ > * Add local business information
34
> * Email SEO report: SEO data
35
> * Email SEO report: Google Analytics data
36
> * Duplicate meta check
43
> * Google Search Console error import and fix
44
> * And more!
45
46
+ <a href="https://www.joomunited.com/wordpress-products/wp-meta-seo" rel="friend">More information and feature details here!</a>
47
48
49
+ ## Meta information bulk edition and image SEO =
50
51
Editing meta information on an existing website can be veeeery long, open each post, edit, close it, open again and almost nobody was doing it. Especially if you need to edit content + image meta.
52
WP Meta SEO is going to list all posts, pages, custom post types and all images. Type your meta content and fix image size and everything is AJAX saved.
58
* Optional keyword edition
59
60
A bunch of people reduce the size of the pictures in content using handles that results to a HTML resizing. And that's something wrong for SEO, for page loading time and for image quality.
61
+ WP Meta SEO also include this feature in the bulk edition view, you are notified, and you can now optimize the size of your images in articles, click fix and it's replaced in your content (no broken links).
62
63
+ ## On page SEO optimization and content analysis
64
65
* Content SEO smart analysis bellow content
66
* Google Search Console keyword suggestion in content
76
* Check: Wrong image resizing
77
* Check: Image meta title or alt
78
* Check the Page builders content (Text, HTML, Heading content):
79
+ Gutenberg, Visual composer, DIVI Builder, Beaver Builder, ACF, Site Origine, Themify builder, Live composer, Elementor
80
81
+ ## 404 and redirect manager
82
83
+ 404 errors are bad for user experience and for your backlinks, Google hates it too: this is something that has to be fixed to improve your SEO.
84
The redirect manager will help you to fix all types of 404 errors you can encounter on your website.
85
86
* Index all 404 errors from external source (external websites)
90
* Index all 404 types: URL and images
91
* Monitor the 404 hits number
92
* Flush existing indexed URLs and hits number
93
+ * Setup and redirect to a 404-custom page
94
95
+ ## Google Analytics connection
96
97
* Enable analytics statistics in 2 clicks with token access
98
* Tracking options to exclude WordPress user groups
99
* File download statistics
100
* Display Analytics statistics: session, users, organic, page views, bounce, location, pages, referrer, searches, traffic, technology
101
102
103
+ ## XML sitemap & HTML sitemap
104
105
* Generate automatically xml sitemap
106
* Generate automatically HTML sitemap
108
* Setup update frequency and priority for each sitemap link
109
* Crawl all sitemap URL for errors
110
111
+ ## Breadcrumb generator =
112
113
* Rich snippet breadcrumb
114
* Control breadcrumb separator, links and display
121
[vimeo https://vimeo.com/113695156]
122
123
124
+ ## Other search engine optimization features
125
126
* Reduce page weight by fixing HTML image resizing
127
* See all your snippet in one view
128
* Image name, title, description and legend
129
* Dashboard SEO check
131
* On page analysis: fix SEO criteria
132
* Custom post type meta edition
133
* All custom post type and WooCommerce SEO optimization
134
+ * Yoast SEO meta information importer
135
+ * All in one SEO meta information importer
136
* ImageRecycle image compression integration
137
* Live Google snippet preview
138
+ * Content meta length limit (Google + Yahoo + Bing)
139
+ * SEO problem warning
140
* One click image title copy
141
* SEO bulk copy: Copy image name to image alt and/or image title
142
* SEO bulk copy: Copy content title to content meta title
147
* SEO 404 and redirect: Redirect all 404 in one click
148
* Check for SEO error: is robot.txt blocking search engine
149
* Bulk edit SEO link title in your content
150
+ * Follow/Nofollow on WordPress content
151
* Generate automatically xml sitemap
152
* Generate automatically HTML sitemap
153
+ * Sitemap source: menu, post, pages, category and custom posts
154
+ * HTML sitemap display with 3 frontend layouts
155
+
156
157
= Main plugins from JoomUnited: =
158
258
259
== Changelog ==
260
261
+ = 4.0.6 =
262
+ * Add : Quick SEO content preview style for WordPress 5.2
263
+ * Fix : Bulk action and meta bulk apply to all images
264
+ * Fix : Resize and edit meta information in image editor
265
+ * Fix : Put back the sitemap URL instead of the server path
266
+ * Fix : Add short description for WooCommerce in SEO analysis
267
+
268
= 4.0.5 =
269
* Fix : Add index to improve the query performance
270
* Fix : Rredirect link with xlink
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: 4.0.5
8
* Text Domain: wp-meta-seo
9
* Domain Path: /languages
10
* Author: JoomUnited
@@ -121,7 +121,7 @@ if (!defined('WPMSEO_VERSION')) {
121
/**
122
* Plugin version
123
*/
124
- define('WPMSEO_VERSION', '4.0.5');
125
}
126
127
if (!defined('WPMS_CLIENTID')) {
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: 4.0.6
8
* Text Domain: wp-meta-seo
9
* Domain Path: /languages
10
* Author: JoomUnited
121
/**
122
* Plugin version
123
*/
124
+ define('WPMSEO_VERSION', '4.0.6');
125
}
126
127
if (!defined('WPMS_CLIENTID')) {