Version Description
- Fix : XML Sitemap cannot be parsed in google console
- Fix : Resize images and check on dashboard
- Fix : Fix list image in image editor
- Fix : Fix an HTTP error when delete posts
Download this release
Release Info
Developer | JoomUnited |
Plugin | WP Meta SEO |
Version | 4.0.3 |
Comparing to | |
See all releases |
Code changes from version 4.0.2 to 4.0.3
- assets/js/cliffpyles.js +1 -1
- assets/wordpress-css-framework/js/tabs.js +1 -1
- inc/class.image-helper.php +1 -1
- inc/class.metaseo-admin.php +18 -0
- inc/class.metaseo-dashboard.php +1 -1
- inc/class.metaseo-image-list-table.php +106 -97
- inc/class.metaseo-metabox.php +1 -1
- inc/class.metaseo-sitemap.php +22 -6
- inc/pages/settings.php +1 -1
- inc/pages/sitemaps/sitemap_menus.php +1 -1
- languages/wp-meta-seo-en_US.mo +0 -0
- readme.txt +178 -172
- requirements.php +1 -1
- wp-meta-seo.php +4 -4
assets/js/cliffpyles.js
CHANGED
@@ -9,7 +9,7 @@ jQuery(document).ready(function ($) {
|
|
9 |
var meta_title = $('#metaseo_wpmseo_title').val();
|
10 |
var meta_desc = $('#metaseo_wpmseo_desc').val();
|
11 |
|
12 |
-
if (
|
13 |
mpageurl = $('#wp-admin-bar-view').find('a').attr('href');
|
14 |
current_editor = 'gutenberg';
|
15 |
if (parseInt(first_load) === 1) {
|
9 |
var meta_title = $('#metaseo_wpmseo_title').val();
|
10 |
var meta_desc = $('#metaseo_wpmseo_desc').val();
|
11 |
|
12 |
+
if (typeof wp.blocks !== "undefined") {
|
13 |
mpageurl = $('#wp-admin-bar-view').find('a').attr('href');
|
14 |
current_editor = 'gutenberg';
|
15 |
if (parseInt(first_load) === 1) {
|
assets/wordpress-css-framework/js/tabs.js
CHANGED
@@ -125,6 +125,6 @@
|
|
125 |
};
|
126 |
|
127 |
$(document).ready(function(){
|
128 |
-
$('ul.tabs').itabs();
|
129 |
});
|
130 |
}( jQuery ));
|
125 |
};
|
126 |
|
127 |
$(document).ready(function(){
|
128 |
+
$('ul.ju-tabs').itabs();
|
129 |
});
|
130 |
}( jQuery ));
|
inc/class.image-helper.php
CHANGED
@@ -554,7 +554,7 @@ class ImageHelper
|
|
554 |
}
|
555 |
$post_content = $res->post_content;
|
556 |
$imgs_to_resize = get_post_meta($img_post_id, '_metaseo_resize_image', true);
|
557 |
-
if (preg_match_all('
|
558 |
$replacement = array();
|
559 |
foreach ($matches[0] as $order => $tag) {
|
560 |
$replacement[$order] = $tag;
|
554 |
}
|
555 |
$post_content = $res->post_content;
|
556 |
$imgs_to_resize = get_post_meta($img_post_id, '_metaseo_resize_image', true);
|
557 |
+
if (preg_match_all('#<img.*/>#Usmi', $post_content, $matches)) {
|
558 |
$replacement = array();
|
559 |
foreach ($matches[0] as $order => $tag) {
|
560 |
$replacement[$order] = $tag;
|
inc/class.metaseo-admin.php
CHANGED
@@ -759,6 +759,24 @@ class MetaSeoAdmin
|
|
759 |
*/
|
760 |
public function adminRedirects()
|
761 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
762 |
// Setup wizard redirect
|
763 |
if (is_null(get_option('_wpmf_activation_redirect', null)) && is_null(get_option('wpms_version', null))) {
|
764 |
// phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification -- View request, no action
|
759 |
*/
|
760 |
public function adminRedirects()
|
761 |
{
|
762 |
+
// Disable all admin notice for page belong to plugin
|
763 |
+
add_action('admin_print_scripts', function () {
|
764 |
+
global $wp_filter;
|
765 |
+
// phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification -- No action, nonce is not required
|
766 |
+
if ((!empty($_GET['page']) && in_array($_GET['page'], array('wpms-setup', 'metaseo_settings','metaseo_console')))) {
|
767 |
+
if (is_user_admin()) {
|
768 |
+
if (isset($wp_filter['user_admin_notices'])) {
|
769 |
+
unset($wp_filter['user_admin_notices']);
|
770 |
+
}
|
771 |
+
} elseif (isset($wp_filter['admin_notices'])) {
|
772 |
+
unset($wp_filter['admin_notices']);
|
773 |
+
}
|
774 |
+
if (isset($wp_filter['all_admin_notices'])) {
|
775 |
+
unset($wp_filter['all_admin_notices']);
|
776 |
+
}
|
777 |
+
}
|
778 |
+
});
|
779 |
+
|
780 |
// Setup wizard redirect
|
781 |
if (is_null(get_option('_wpmf_activation_redirect', null)) && is_null(get_option('wpms_version', null))) {
|
782 |
// phpcs:ignore WordPress.Security.NonceVerification.NoNonceVerification -- View request, no action
|
inc/class.metaseo-dashboard.php
CHANGED
@@ -66,7 +66,7 @@ class MetaSeoDashboard
|
|
66 |
}
|
67 |
|
68 |
$img_src = $tag['attributes']['src'];
|
69 |
-
if (!preg_match('/\.(jpg|png|gif)$/i', $img_src, $matches)) {
|
70 |
continue;
|
71 |
}
|
72 |
|
66 |
}
|
67 |
|
68 |
$img_src = $tag['attributes']['src'];
|
69 |
+
if (!preg_match('/\.(jpg|jpeg|png|gif)$/i', $img_src, $matches)) {
|
70 |
continue;
|
71 |
}
|
72 |
|
inc/class.metaseo-image-list-table.php
CHANGED
@@ -662,16 +662,16 @@ class MetaSeoImageListTable extends WP_List_Table
|
|
662 |
*/
|
663 |
public function display_rows() // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps -- extends from WP_List_Table class
|
664 |
{
|
665 |
-
$records
|
666 |
-
$i
|
667 |
$alternate = '';
|
668 |
|
669 |
list($columns, $hidden) = $this->get_column_info();
|
670 |
if (!empty($records)) {
|
671 |
foreach ($records as $rec) {
|
672 |
$alternate = 'alternate' === $alternate ? '' : 'alternate';
|
673 |
-
$i
|
674 |
-
$classes
|
675 |
$img_meta = get_post_meta($rec->ID, '_wp_attachment_metadata', true);
|
676 |
if (empty($img_meta['file'])) {
|
677 |
continue;
|
@@ -688,145 +688,154 @@ class MetaSeoImageListTable extends WP_List_Table
|
|
688 |
} else {
|
689 |
$img_name = $img_meta['file'];
|
690 |
}
|
691 |
-
|
|
|
692 |
$img_name = str_replace($type, '', $img_name);
|
693 |
|
694 |
$upload_dir = wp_upload_dir();
|
695 |
-
$img_path
|
696 |
//Get the date that image was uploaded
|
697 |
$img_date = get_the_date('', $rec->ID);
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
712 |
} else {
|
713 |
-
$img_size
|
714 |
-
$img_sizes
|
715 |
-
$img_width = 0;
|
716 |
-
$img_height = 0;
|
717 |
}
|
|
|
|
|
718 |
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
|
728 |
-
|
729 |
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
name="post[]" value="' . esc_attr($rec->ID) . '">';
|
735 |
-
|
736 |
-
|
737 |
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
|
744 |
-
|
745 |
-
|
746 |
data-name="' . esc_attr($img_name . $type) . '" data-img-post-id="' . esc_attr($rec->ID) . '" />';
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
class="metaseo-img-meta metaseo-img-name" data-meta-type="change_image_name"
|
756 |
id="' . esc_attr('img-name-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '" rows="2"
|
757 |
data-extension="' . esc_attr($type) . '" value="' . esc_attr($img_name) . '">';
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
<span class="spinner"></span>
|
763 |
</span>';
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
<div class="popup-bg"></div>
|
774 |
<div class="popup post-list">
|
775 |
<span class="popup-close" title="Close">x</span>
|
776 |
<div class="popup-content"></div>
|
777 |
</div>';
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
|
782 |
-
|
783 |
-
|
784 |
data-meta-type="alt_text" id="' . esc_attr('img-alt-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
785 |
rows="2">' . esc_textarea($rec->alt) . '</textarea>';
|
786 |
-
|
787 |
<span class="spinner"></span>
|
788 |
</span>');
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
|
793 |
-
|
794 |
-
|
795 |
data-meta-type="image_title" id="' . esc_attr('img-title-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
796 |
rows="2">' . esc_textarea($rec->title) . '</textarea>';
|
797 |
-
|
798 |
<span class="spinner"></span>
|
799 |
</span>');
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
|
804 |
-
|
805 |
-
|
806 |
data-meta-type="image_caption" id="' . esc_attr('img-legend-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
807 |
rows="2">' . esc_textarea($rec->legend) . '</textarea>';
|
808 |
-
|
809 |
<span class="spinner"></span>
|
810 |
</span>';
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
|
815 |
-
|
816 |
-
|
817 |
data-meta-type="image_description" id="' . esc_attr('img-desc-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
818 |
rows="2">' . esc_textarea($rec->des) . '</textarea>';
|
819 |
-
|
820 |
<span class="spinner"></span>
|
821 |
</span>');
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
}
|
826 |
}
|
827 |
-
|
828 |
-
echo '</tr>';
|
829 |
}
|
|
|
|
|
830 |
}
|
831 |
}
|
832 |
}
|
@@ -2007,7 +2016,7 @@ class MetaSeoImageListTable extends WP_List_Table
|
|
2007 |
continue;
|
2008 |
}
|
2009 |
|
2010 |
-
$src = $tag
|
2011 |
$postid = self::getAttachmentId($src);
|
2012 |
$path = get_attached_file($postid);
|
2013 |
$infos = pathinfo($path);
|
662 |
*/
|
663 |
public function display_rows() // phpcs:ignore PSR1.Methods.CamelCapsMethodName.NotCamelCaps -- extends from WP_List_Table class
|
664 |
{
|
665 |
+
$records = $this->items;
|
666 |
+
$i = 0;
|
667 |
$alternate = '';
|
668 |
|
669 |
list($columns, $hidden) = $this->get_column_info();
|
670 |
if (!empty($records)) {
|
671 |
foreach ($records as $rec) {
|
672 |
$alternate = 'alternate' === $alternate ? '' : 'alternate';
|
673 |
+
$i++;
|
674 |
+
$classes = $alternate;
|
675 |
$img_meta = get_post_meta($rec->ID, '_wp_attachment_metadata', true);
|
676 |
if (empty($img_meta['file'])) {
|
677 |
continue;
|
688 |
} else {
|
689 |
$img_name = $img_meta['file'];
|
690 |
}
|
691 |
+
|
692 |
+
$type = substr($img_meta['file'], strrpos($img_meta['file'], '.'));
|
693 |
$img_name = str_replace($type, '', $img_name);
|
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
|
700 |
+
if (isset($img_meta['filesize'])) {
|
701 |
+
$size = $img_meta['filesize'] / 1024;
|
702 |
+
$img_width = (isset($img_meta['width'])) ? $img_meta['width'] : 0;
|
703 |
+
$img_height = (isset($img_meta['height'])) ? $img_meta['height'] : 0;
|
704 |
+
} elseif (file_exists($img_path)) {
|
705 |
+
//Get image attributes including width and height
|
706 |
+
list($img_width, $img_height) = getimagesize($img_path);
|
707 |
+
$size = filesize($img_path);
|
708 |
+
} else {
|
709 |
+
$size = '';
|
710 |
+
}
|
711 |
+
|
712 |
+
if ($size === '') {
|
713 |
+
$img_size = 0;
|
714 |
+
$img_sizes = ' MB';
|
715 |
+
$img_width = 0;
|
716 |
+
$img_height = 0;
|
717 |
+
} else {
|
718 |
+
$size = $size / 1024;
|
719 |
+
if ($size > 1024) {
|
720 |
+
$img_size = ($size / 1024);
|
721 |
+
$img_sizes = ' MB';
|
722 |
} else {
|
723 |
+
$img_size = ($size);
|
724 |
+
$img_sizes = ' KB';
|
|
|
|
|
725 |
}
|
726 |
+
$img_size = round($img_size, 1);
|
727 |
+
}
|
728 |
|
729 |
+
echo '<tr id="' . esc_attr('record_' . $rec->ID) . '" class="' . esc_attr($classes) . '" >';
|
730 |
+
foreach ($columns as $column_name => $column_display_name) {
|
731 |
+
$class = sprintf('class="%1$s column-%1$s"', esc_attr($column_name));
|
732 |
+
$style = '';
|
733 |
|
734 |
+
if (in_array($column_name, $hidden)) {
|
735 |
+
$style = ' style="display:none;"';
|
736 |
+
}
|
737 |
|
738 |
+
$attributes = $class . $style;
|
739 |
|
740 |
+
switch ($column_name) {
|
741 |
+
case 'cb':
|
742 |
+
echo '<td scope="row" class="check-column">';
|
743 |
+
echo '<input id="cb-select-1" class="metaseo_post" type="checkbox"
|
744 |
name="post[]" value="' . esc_attr($rec->ID) . '">';
|
745 |
+
echo '</td>';
|
746 |
+
break;
|
747 |
|
748 |
+
case 'col_id':
|
749 |
+
echo '<td class="col_id" colspan="1">';
|
750 |
+
echo esc_html($i);
|
751 |
+
echo '</td>';
|
752 |
+
break;
|
753 |
|
754 |
+
case 'col_image':
|
755 |
+
$img = '<img src="' . esc_url($thumb_url) . '" width="70px" height="70px" class="metaseo-image"
|
756 |
data-name="' . esc_attr($img_name . $type) . '" data-img-post-id="' . esc_attr($rec->ID) . '" />';
|
757 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
758 |
+
echo sprintf('<td %2$s colspan="3">%1$s</td>', $img, $attributes);
|
759 |
+
break;
|
760 |
+
|
761 |
+
case 'col_image_name':
|
762 |
+
$ext = strtoupper(str_replace('.', '', $type));
|
763 |
+
$info = '<div class="img-name-wrapper">';
|
764 |
+
$info .= '<input type="text" name="' . esc_attr('name_image[' . $rec->ID . ']') . '"
|
765 |
class="metaseo-img-meta metaseo-img-name" data-meta-type="change_image_name"
|
766 |
id="' . esc_attr('img-name-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '" rows="2"
|
767 |
data-extension="' . esc_attr($type) . '" value="' . esc_attr($img_name) . '">';
|
768 |
+
$info .= '<p>' . esc_html($ext) . esc_html__(' Size: ', 'wp-meta-seo') . esc_html($img_size . $img_sizes) . '</p>';
|
769 |
+
$info .= '<p>' . esc_html($img_width) . 'x' . esc_html($img_height) . '</p>';
|
770 |
+
$info .= '<p>' . esc_html($img_date) . '</p>';
|
771 |
+
$info .= '<span class="saved-info" style="position:relative">
|
772 |
<span class="spinner"></span>
|
773 |
</span>';
|
774 |
+
$info .= '</div>';
|
775 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
776 |
+
echo sprintf('<td %2$s colspan="4">%1$s</td>', $info, $attributes);
|
777 |
+
break;
|
778 |
+
|
779 |
+
case 'col_image_info':
|
780 |
+
$info = '<div class="opt-info" id="' . esc_attr('opt-info-' . $rec->ID) . '"></div>';
|
781 |
+
$info .= '<span class="metaseo-loading"></span>';
|
782 |
+
$info .= '
|
783 |
<div class="popup-bg"></div>
|
784 |
<div class="popup post-list">
|
785 |
<span class="popup-close" title="Close">x</span>
|
786 |
<div class="popup-content"></div>
|
787 |
</div>';
|
788 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
789 |
+
echo sprintf('<td %2$s colspan="5" style="position:relative">%1$s</td>', $info, $attributes);
|
790 |
+
break;
|
791 |
|
792 |
+
case 'col_image_alternative':
|
793 |
+
$input = '<textarea name="' . esc_attr('img_alternative[' . $rec->ID . ']') . '" class="metaseo-img-meta"
|
794 |
data-meta-type="alt_text" id="' . esc_attr('img-alt-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
795 |
rows="2">' . esc_textarea($rec->alt) . '</textarea>';
|
796 |
+
$input .= ('<span class="saved-info" style="position:relative">
|
797 |
<span class="spinner"></span>
|
798 |
</span>');
|
799 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
800 |
+
echo sprintf('<td %2$s colspan="3">%1$s</td>', $input, $attributes);
|
801 |
+
break;
|
802 |
|
803 |
+
case 'col_image_title':
|
804 |
+
$input = '<textarea name="' . esc_attr('img_title[' . $rec->ID . ']') . '" class="metaseo-img-meta"
|
805 |
data-meta-type="image_title" id="' . esc_attr('img-title-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
806 |
rows="2">' . esc_textarea($rec->title) . '</textarea>';
|
807 |
+
$input .= ('<span class="saved-info" style="position:relative">
|
808 |
<span class="spinner"></span>
|
809 |
</span>');
|
810 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
811 |
+
echo sprintf('<td %2$s colspan="3">%1$s</td>', $input, $attributes);
|
812 |
+
break;
|
813 |
|
814 |
+
case 'col_image_legend':
|
815 |
+
$input = '<textarea name="' . esc_attr('img_legend[' . $rec->ID . ']') . '" class="metaseo-img-meta"
|
816 |
data-meta-type="image_caption" id="' . esc_attr('img-legend-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
817 |
rows="2">' . esc_textarea($rec->legend) . '</textarea>';
|
818 |
+
$input .= '<span class="saved-info" style="position:relative">
|
819 |
<span class="spinner"></span>
|
820 |
</span>';
|
821 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
822 |
+
echo sprintf('<td %2$s colspan="3">%1$s</td>', $input, $attributes);
|
823 |
+
break;
|
824 |
|
825 |
+
case 'col_image_desc':
|
826 |
+
$input = '<textarea name="' . esc_attr('img_desc[' . $rec->ID . ']') . '" class="metaseo-img-meta"
|
827 |
data-meta-type="image_description" id="' . esc_attr('img-desc-' . $rec->ID) . '" data-post-id="' . esc_attr($rec->ID) . '"
|
828 |
rows="2">' . esc_textarea($rec->des) . '</textarea>';
|
829 |
+
$input .= ('<span class="saved-info" style="position:relative">
|
830 |
<span class="spinner"></span>
|
831 |
</span>');
|
832 |
+
// phpcs:ignore WordPress.Security.EscapeOutput -- Content escaped in previous line (same function)
|
833 |
+
echo sprintf('<td %2$s colspan="3">%1$s</td>', $input, $attributes);
|
834 |
+
break;
|
|
|
835 |
}
|
|
|
|
|
836 |
}
|
837 |
+
|
838 |
+
echo '</tr>';
|
839 |
}
|
840 |
}
|
841 |
}
|
2016 |
continue;
|
2017 |
}
|
2018 |
|
2019 |
+
$src = $tag['attributes']['src'];
|
2020 |
$postid = self::getAttachmentId($src);
|
2021 |
$path = get_attached_file($postid);
|
2022 |
$infos = pathinfo($path);
|
inc/class.metaseo-metabox.php
CHANGED
@@ -452,7 +452,7 @@ class WPMSEOMetabox extends WPMSEOMeta
|
|
452 |
$service = false;
|
453 |
?>
|
454 |
<div class="wpmseo-metabox-tabs-div">
|
455 |
-
<ul class="wpmseo-metabox-tabs tabs wpmstabs" id="wpmseo-metabox-tabs">
|
456 |
<li class="tab wpmstab col">
|
457 |
<a class="wpmseo_tablink"
|
458 |
href="#wpmseo_general"><?php esc_html_e('SEO Page optimization', 'wp-meta-seo'); ?></a>
|
452 |
$service = false;
|
453 |
?>
|
454 |
<div class="wpmseo-metabox-tabs-div">
|
455 |
+
<ul class="wpmseo-metabox-tabs tabs ju-tabs wpmstabs" id="wpmseo-metabox-tabs">
|
456 |
<li class="tab wpmstab col">
|
457 |
<a class="wpmseo_tablink"
|
458 |
href="#wpmseo_general"><?php esc_html_e('SEO Page optimization', 'wp-meta-seo'); ?></a>
|
inc/class.metaseo-sitemap.php
CHANGED
@@ -346,11 +346,21 @@ class MetaSeoSitemap
|
|
346 |
'_',
|
347 |
str_replace('http://', '', str_replace('https://', '', ABSPATH))
|
348 |
);
|
349 |
-
|
350 |
-
|
|
|
|
|
|
|
|
|
|
|
351 |
} else {
|
352 |
-
|
353 |
-
|
|
|
|
|
|
|
|
|
|
|
354 |
}
|
355 |
echo '<input readonly id="wpms_sitemap_link" name="_metaseo_settings_sitemap[wpms_sitemap_link]"
|
356 |
type="text" value="' . esc_attr($value) . '" size="50" class="wpms-large-input wpms-no-margin wpms_width_90" />';
|
@@ -592,7 +602,7 @@ class MetaSeoSitemap
|
|
592 |
'urlset'
|
593 |
)
|
594 |
);
|
595 |
-
|
596 |
/* add home page */
|
597 |
$list_links[] = home_url('/');
|
598 |
$url = $gglstmp_urlset->appendChild($xml->createElement('url'));
|
@@ -2346,12 +2356,18 @@ ORDER BY p.post_date DESC', array($post_type)));
|
|
2346 |
}
|
2347 |
}
|
2348 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2349 |
/**
|
2350 |
* Submit sitemaps, don't ping if blog is not public.
|
2351 |
*
|
2352 |
* @param string Sitemap URL
|
2353 |
*/
|
2354 |
-
do_action('wpms_submit_sitemap',
|
2355 |
if ($type === 'ajax') {
|
2356 |
wp_send_json(array('status' => true, 'message' => 'success'));
|
2357 |
}
|
346 |
'_',
|
347 |
str_replace('http://', '', str_replace('https://', '', ABSPATH))
|
348 |
);
|
349 |
+
if ((int)$this->settings_sitemap['wpms_sitemap_root'] === 1) {
|
350 |
+
$value = trim(ABSPATH, '/') . '/sitemap_' . $home_url . '.xml';
|
351 |
+
$link = get_option('siteurl') . '/sitemap_' . $home_url . '.xml';
|
352 |
+
} else {
|
353 |
+
$value = trim(ABSPATH, '/') . '/wpms-sitemap_' . $home_url . '.xml';
|
354 |
+
$link = get_option('siteurl') . '/wpms-sitemap_' . $home_url . '.xml';
|
355 |
+
}
|
356 |
} else {
|
357 |
+
if ((int)$this->settings_sitemap['wpms_sitemap_root'] === 1) {
|
358 |
+
$value = trim(ABSPATH, '/') . '/' . $this->wpms_sitemap_default_name;
|
359 |
+
$link = get_option('siteurl') . '/' . $this->wpms_sitemap_default_name;
|
360 |
+
} else {
|
361 |
+
$value = trim(ABSPATH, '/') . '/' . $this->wpms_sitemap_name;
|
362 |
+
$link = get_option('siteurl') . '/' . $this->wpms_sitemap_name;
|
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" />';
|
602 |
'urlset'
|
603 |
)
|
604 |
);
|
605 |
+
$gglstmp_urlset->setAttribute('xmlns:xhtml', 'http://www.w3.org/1999/xhtml');
|
606 |
/* add home page */
|
607 |
$list_links[] = home_url('/');
|
608 |
$url = $gglstmp_urlset->appendChild($xml->createElement('url'));
|
2356 |
}
|
2357 |
}
|
2358 |
|
2359 |
+
if ((int)$this->settings_sitemap['wpms_sitemap_root'] === 1) {
|
2360 |
+
$sitemapUrl = site_url($this->wpms_sitemap_default_name);
|
2361 |
+
} else {
|
2362 |
+
$sitemapUrl = site_url($this->wpms_sitemap_name);
|
2363 |
+
}
|
2364 |
+
|
2365 |
/**
|
2366 |
* Submit sitemaps, don't ping if blog is not public.
|
2367 |
*
|
2368 |
* @param string Sitemap URL
|
2369 |
*/
|
2370 |
+
do_action('wpms_submit_sitemap', $sitemapUrl);
|
2371 |
if ($type === 'ajax') {
|
2372 |
wp_send_json(array('status' => true, 'message' => 'success'));
|
2373 |
}
|
inc/pages/settings.php
CHANGED
@@ -120,7 +120,7 @@ $setting_switch_fields = array(
|
|
120 |
placeholder="<?php esc_html_e('Search settings', 'wp-meta-seo') ?>"
|
121 |
>
|
122 |
</div>
|
123 |
-
<ul class="tabs ju-menu-tabs">
|
124 |
<?php foreach ($tabs_data as $tab) : ?>
|
125 |
<li class="tab" data-tab-title="<?php echo esc_attr($tab['title']) ?>">
|
126 |
<a href="#<?php echo esc_attr($tab['id']) ?>"
|
120 |
placeholder="<?php esc_html_e('Search settings', 'wp-meta-seo') ?>"
|
121 |
>
|
122 |
</div>
|
123 |
+
<ul class="ju-tabs tabs ju-menu-tabs">
|
124 |
<?php foreach ($tabs_data as $tab) : ?>
|
125 |
<li class="tab" data-tab-title="<?php echo esc_attr($tab['title']) ?>">
|
126 |
<a href="#<?php echo esc_attr($tab['id']) ?>"
|
inc/pages/sitemaps/sitemap_menus.php
CHANGED
@@ -4,7 +4,7 @@ defined('ABSPATH') || die('No direct script access allowed!');
|
|
4 |
?>
|
5 |
<div class="wpmsrow sitemap-menu-bar">
|
6 |
<div class="col s12">
|
7 |
-
<ul class="tabs
|
8 |
<li class="tab wpmstab col active">
|
9 |
<a href="#menu_sitemaps"><?php esc_html_e('Sitemaps', 'wp-meta-seo') ?></a>
|
10 |
</li>
|
4 |
?>
|
5 |
<div class="wpmsrow sitemap-menu-bar">
|
6 |
<div class="col s12">
|
7 |
+
<ul class="wpmstabs ju-tabs">
|
8 |
<li class="tab wpmstab col active">
|
9 |
<a href="#menu_sitemaps"><?php esc_html_e('Sitemaps', 'wp-meta-seo') ?></a>
|
10 |
</li>
|
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.0.
|
6 |
-
Stable tag: 4.0.
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -277,299 +277,305 @@ Yes WP Meta SEO is compatible with Gutenberg editor since 3.7 version.
|
|
277 |
|
278 |
== Changelog ==
|
279 |
|
|
|
|
|
|
|
|
|
|
|
|
|
280 |
= 4.0.2 =
|
281 |
-
* Fix : Title undefined in gutenberg editor
|
282 |
-
* Fix : Compatible with Oxygen Builder
|
283 |
-
* Fix : Error when save post
|
284 |
|
285 |
= 4.0.1 =
|
286 |
-
* Fix : Email report doesn't work
|
287 |
-
* Fix : Css conflict in meta box
|
288 |
|
289 |
= 4.0.0 =
|
290 |
-
* Add : New admin UX and design
|
291 |
-
* Add : Settings UX with AJAX search engine
|
292 |
-
* Add : Implement new plugin dashboard with new criteria checks
|
293 |
-
* Add : Implement bulk actions on meta bulk editor
|
294 |
-
* Add : Implement bulk actions on image information bulk editor
|
295 |
-
* Add : Implement bulk actions on the link title manager
|
296 |
-
* Add : Check color for meta lenght: check is meta is too short or too long
|
297 |
-
* Add : Plugin installer with quick configuration
|
298 |
-
* Add : Environment checker on install (PHP Version, PHP Extensions, Apache Modules)
|
299 |
-
* Add : System Check menu to notify of server configuration problems after install
|
300 |
-
* Fix : Sitemap display on frontend
|
301 |
|
302 |
= 3.7.7 =
|
303 |
-
* Add : Add actions and filters for developers
|
304 |
|
305 |
= 3.7.6 =
|
306 |
-
* Fix : Redirect to home page when WPMS Addon is not activated
|
307 |
|
308 |
= 3.7.5 =
|
309 |
-
* Fix : Warning returned on frontend
|
310 |
-
* Fix : Load Dashboard widget content using ajax method (large amount of data)
|
311 |
-
* Fix : PHP warning in redirect URL interface
|
312 |
|
313 |
= 3.7.4 =
|
314 |
-
* Fix : Update alt meta for Elementor image in content
|
315 |
-
* Fix : Redirect URL
|
316 |
|
317 |
= 3.7.3 =
|
318 |
-
* Fix : Enhance code readability and performance
|
319 |
|
320 |
= 3.7.2 =
|
321 |
-
* Fix : JUtranslation share with JoomUnited
|
322 |
|
323 |
= 3.7.1 =
|
324 |
-
* Fix : Sitemap categories not properly added
|
325 |
-
* Fix : Broken link display column header
|
326 |
-
* Fix : Render meta description on frontend
|
327 |
|
328 |
= 3.7.0 =
|
329 |
-
* Add : Compatible with Gutemberg editor
|
330 |
-
* Fix : Reload analysis in metabox
|
331 |
-
* Fix : Render title tag
|
332 |
|
333 |
= 3.6.8 =
|
334 |
-
* Fix : Conflict with Origin PageBuilder plugin
|
335 |
-
* Fix : Save post and page slow request
|
336 |
|
337 |
= 3.6.7 =
|
338 |
-
* Fix : Meta box not loaded on WordPress multisite
|
339 |
|
340 |
= 3.6.6 =
|
341 |
-
* Fix : Sitemap column display
|
342 |
-
* Fix : Reload Google Analytics data
|
343 |
|
344 |
= 3.6.5 =
|
345 |
-
* Fix : Compatibility with php 5.3 and 5.4
|
346 |
|
347 |
= 3.6.4 =
|
348 |
-
* Fix : Google analytics tracking code removed some characters
|
349 |
-
* Fix : Send email (SEO report)
|
350 |
-
* Fix : Query duplicate meta
|
351 |
|
352 |
= 3.6.3 =
|
353 |
-
* Add : Change meta description max length (320 characters)
|
354 |
-
* Fix : Conflict with Antispam Bee plugin
|
355 |
-
* Fix : Page title word in content heading
|
356 |
|
357 |
= 3.6.2 =
|
358 |
-
* Fix : Saving translation does not apply
|
359 |
-
* Fix : JS error when edit a post (public false)
|
360 |
|
361 |
= 3.6.1 =
|
362 |
-
* Fix : Fatal error on frontend on certain configuration
|
363 |
|
364 |
= 3.6.0 =
|
365 |
-
* Add : Full code reformating for better performance and code comments
|
366 |
-
* Add : Using PHPCS to make standard definitions
|
367 |
|
368 |
= 3.5.3 =
|
369 |
-
* Fix : Display WordPress page with sitemap
|
370 |
-
* Fix : Set default image for facebook and Twitter
|
371 |
-
* Fix : Return error when using undefined get_term_meta function
|
372 |
|
373 |
= 3.5.2 =
|
374 |
-
* Fix : Create robots.txt file for multisite
|
375 |
-
* Fix : Add meta tags og:type and fb:app_id (Facebook page share)
|
376 |
|
377 |
= 3.5.1 =
|
378 |
-
* Language filter for meta, images and sitemap XML
|
379 |
-
* Fix : Encoding issue on dashboard page
|
380 |
-
* Fix : JS error when empty post content
|
381 |
|
382 |
= 3.5.0 =
|
383 |
-
* Fix : Check content of page builders: Visual composer, DIVI Builder, Beaver Builder, ACF, Site Origine, Themify builder, Live composer, Elementor plugins
|
384 |
-
* Add : Generate rich snippet breadcrumb shortcode and PHP code
|
385 |
-
* Fix : Redesign the image edition window
|
386 |
|
387 |
= 3.4.1 =
|
388 |
-
* Add : Meta keywords field in category meta edition
|
389 |
-
* Add : Update dashboard description and image compression layout
|
390 |
-
* Fix : Warning when 'wpio_images' table does not exist
|
391 |
|
392 |
= 3.4.0 =
|
393 |
-
* Add : Simple Analytics tracking only based on UA or JS snippet
|
394 |
-
* Add : Add image indexation system for large websites (image bulk editor)
|
395 |
-
* Add : Apply material design over all plugin views
|
396 |
-
* Add : Image information: Filter only images that require optimization
|
397 |
-
* Fix : Conflict with WP Latest Posts plugin
|
398 |
|
399 |
= 3.3.2 =
|
400 |
-
* Fix : Remove custom redirect rule not applied
|
401 |
-
* Fix : Wrong value in meta description for category
|
402 |
-
* Fix : Custom post types alway displayed in HTML sitemaps
|
403 |
|
404 |
= 3.3.1 =
|
405 |
-
* Fix : Remove upgrade notification when the ADDON is installed
|
406 |
-
* Fix : Change style for dashboard widgets
|
407 |
-
* Fix : Change layout and fix criteria in SEO page optimization
|
408 |
|
409 |
= 3.3.0 =
|
410 |
-
* Add : If an image information are filled, add it by default if empty if image is re-used
|
411 |
-
* Add : Compatibility with WPML, Polylang for meta edition and Media SEO content
|
412 |
-
* Add : Possibility to edit meta information on categories
|
413 |
-
* Add : Pro version notifications of features in some views
|
414 |
-
* Add : Dashboard widget with 6 SEO criteria
|
415 |
-
* Fix : Change the 404 error page title to remove the plugin name by default
|
416 |
|
417 |
= 3.2.6 =
|
418 |
-
* Add : Add builtin translation tool
|
419 |
-
* Fix : Wrong function used to get description length
|
420 |
|
421 |
= 3.2.5 =
|
422 |
-
* Add : Check DOM PHP activation install to avoid fatal error
|
423 |
-
* Fix : Image information edition with greek characters
|
424 |
|
425 |
= 3.2.4 =
|
426 |
-
* Add : WP Meta SEO Addon compatibility
|
427 |
-
* Fix : Conflict with DIVI layout injector plugin
|
428 |
|
429 |
= 3.2.3 =
|
430 |
-
* Fix : Image resize list does not refresh
|
431 |
-
* Fix : Meta image text replaced by image information
|
432 |
-
* Fix : Dashboard Alexa rank display
|
433 |
-
* Fix : Sharp URL suffix are detected as 404 by the redirect manager
|
434 |
-
* Fix : Phone numbers with '+' are detected as 404 by the redirect manager
|
435 |
-
* Fix : German characters are broken in the link manager
|
436 |
|
437 |
= 3.2.2 =
|
438 |
-
* Fix : Image information edition with a quote becomes empty
|
439 |
-
* Fix : Meta edition character count does not refresh using AJAX
|
440 |
|
441 |
= 3.2.1 =
|
442 |
-
* Add : Compatibility with WP Speed of Light plugin: https://www.joomunited.com/wordpress-products/wp-speed-of-light
|
443 |
|
444 |
= 3.2.0 =
|
445 |
-
* Add : Enable Google Analytics tracking with token access
|
446 |
-
* Add : Tracking options to exclude WordPress user groups from analytics
|
447 |
-
* Add : File download statistics activation
|
448 |
-
* Add : Display Analytics statistics: session, users, organic...
|
449 |
|
450 |
= 3.0.2 =
|
451 |
-
* Add : Add Import meta from Yoast premium plugin
|
452 |
-
* Fix : Font called from http instead of https from dashboard
|
453 |
|
454 |
= 3.0.1 =
|
455 |
-
* Fix : XML menu generation don't handle menu levels
|
456 |
-
* Fix : Mailto links are indexed as 404 error in the redirect manager
|
457 |
-
* Fix : PHP warning when link editor is activated in editor
|
458 |
-
* Fix : Secure code
|
459 |
|
460 |
= 3.0.0 =
|
461 |
-
* Add : Add XML sitemap feature
|
462 |
-
* Add : Add HTML sitemap feature
|
463 |
-
* Add : Add sitemap source: menus (any content), post, page, category, author
|
464 |
-
* Add : Add HTML sitemap content position in page
|
465 |
-
* Add : Add XML sitemap copy option on root option
|
466 |
-
* Add : Add XML sitemap link in robot.txt option
|
467 |
-
* Add : Add help text for all the sitemap parameters
|
468 |
-
* Add : Add help text for all the global parameters
|
469 |
-
* Add : Add AJAX sitemap regeneration
|
470 |
|
471 |
= 2.2.1 =
|
472 |
-
* Add : Update sql sentences to improve query speed
|
473 |
|
474 |
= 2.2.0 =
|
475 |
-
* Add : Follow/Nofollow bulk link edition
|
476 |
-
* Add : Link re-index tool from the bulk link editor
|
477 |
-
* Add : Follow/Nofollow on Wordpress content (onpage SEO)
|
478 |
-
* Add : Index/Noindex on Wordpress content (onpage SEO)
|
479 |
|
480 |
= 2.1.0 =
|
481 |
-
* Add : Add ImageRecycle images and PDF compression integration (https://www.imagerecycle.com)
|
482 |
|
483 |
= 2.0.3 =
|
484 |
-
* Fix : On page analysis return wrong result on header title in content
|
485 |
-
* Fix : Update language on image bulk edit view
|
486 |
|
487 |
= 2.0.2 =
|
488 |
-
* Fix : Detect new type of 404 and add tooltip
|
489 |
-
* Fix : Comment content not detected
|
490 |
-
* Fix : Autosaving too fast in safari or firefox
|
491 |
|
492 |
= 2.0.1 =
|
493 |
-
* Fix : Google font style on Safari browser
|
494 |
|
495 |
= 2.0.0 =
|
496 |
-
* Add : Add 404 and redirect manager
|
497 |
-
* Add : Add Options to redirect all 404 to home page
|
498 |
-
* Add : Add Setup 404 page as: WP Meta SEO page, custom page, default page
|
499 |
|
500 |
= 1.7.3 =
|
501 |
-
* Fix : og: link broken (facebook)
|
502 |
|
503 |
= 1.7.2 =
|
504 |
-
* Add : Page title as content title or as SEO meta title (option)
|
505 |
|
506 |
= 1.7.1 =
|
507 |
-
* Add : Edit separately the content title from the meta title (for search engine)
|
508 |
-
* Fix : Fix RSS feed is broken with WP Meta SEO 1.7.0
|
509 |
|
510 |
= 1.7.0 =
|
511 |
-
* Add : Add link SEO title field in link editor tool
|
512 |
-
* Add : Add a SEO bulk edition view on your links titles (of all your content)
|
513 |
-
* Add : Automatic meta SEO addition for category view: add category title as meta title and category description as meta description
|
514 |
-
* Add : Add SEO dashboard check for link titles
|
515 |
-
* Fix : WooCommerce meta description and title in category view (automatic)
|
516 |
-
* Fix : WP Meta SEO language to be conform to plugin directory translation tool
|
517 |
|
518 |
= 1.6.0 =
|
519 |
-
* Add : Add meta keywords edition in bulk editor
|
520 |
-
* Add : Add option to for SEO criteria validation
|
521 |
|
522 |
= 1.5.1 =
|
523 |
-
* Fix : Home page meta not working on some themes
|
524 |
-
* Fix : Break foreach when search title in SEO content (title in heading)
|
525 |
|
526 |
= 1.5.0 =
|
527 |
-
* Add : Add help tooltip to explain on page validation SEO criteria
|
528 |
-
* Add : Add help tooltip to explain dashboard SEO parameters
|
529 |
-
* Add : Put snippet preview title in a column on SEO bulk view edition
|
530 |
-
* Add : Add SEO and check notification for robot.txt that lock search engine
|
531 |
-
* Add : Update EN and FR language files
|
532 |
|
533 |
= 1.4.0 =
|
534 |
-
* Add : Bulk copy new option: content title to meta title
|
535 |
-
* Add : Bulk copy new option: image name to alt text
|
536 |
-
* Add : Bulk copy new option: image name to image title
|
537 |
-
* Fix : Twitter card on SEO on page optimization
|
538 |
-
* Fix : SEO meta empty in some themes
|
539 |
|
540 |
= 1.3.0 =
|
541 |
-
* Add : New SEO check dashboard
|
542 |
-
* Add : Check for SEO permalinks
|
543 |
-
* Add : Check for meta description
|
544 |
-
* Add : Check for image HTML resizing
|
545 |
-
* Add : Check for image SEO: title, alt and description
|
546 |
-
* Add : Check for new content
|
547 |
|
548 |
= 1.2.0 =
|
549 |
-
* Add : Change language to po/mo files
|
550 |
-
* Add : Include .pot file and French language
|
551 |
-
* Add : Setting for home page meta
|
552 |
-
* Add : Bigger edit meta boxes
|
553 |
-
* Add : Update icon of notification in meta view
|
554 |
|
555 |
= 1.1.0 =
|
556 |
-
* Add : On page SEO analysis
|
557 |
-
* Add : Social sharing custom content
|
558 |
|
559 |
= 1.0.4 =
|
560 |
-
* Fix : Check empty array
|
561 |
|
562 |
= 1.0.3 =
|
563 |
-
* Fix : Escape meta title and meta description
|
564 |
|
565 |
= 1.0.2 =
|
566 |
-
* Fix : Filter broken and icons broken
|
567 |
|
568 |
= 1.0.1 =
|
569 |
-
* Fix : display (no title) in column title if post is no titled
|
570 |
|
571 |
= 1.0.0 =
|
572 |
-
* Add : Initial release
|
573 |
|
574 |
|
575 |
|
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.0.3
|
6 |
+
Stable tag: 4.0.3
|
7 |
Requires PHP: 5.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
277 |
|
278 |
== Changelog ==
|
279 |
|
280 |
+
= 4.0.3 =
|
281 |
+
* Fix : XML Sitemap cannot be parsed in google console
|
282 |
+
* Fix : Resize images and check on dashboard
|
283 |
+
* Fix : Fix list image in image editor
|
284 |
+
* Fix : Fix an HTTP error when delete posts
|
285 |
+
|
286 |
= 4.0.2 =
|
287 |
+
* Fix : Title undefined in gutenberg editor
|
288 |
+
* Fix : Compatible with Oxygen Builder
|
289 |
+
* Fix : Error when save post
|
290 |
|
291 |
= 4.0.1 =
|
292 |
+
* Fix : Email report doesn't work
|
293 |
+
* Fix : Css conflict in meta box
|
294 |
|
295 |
= 4.0.0 =
|
296 |
+
* Add : New admin UX and design
|
297 |
+
* Add : Settings UX with AJAX search engine
|
298 |
+
* Add : Implement new plugin dashboard with new criteria checks
|
299 |
+
* Add : Implement bulk actions on meta bulk editor
|
300 |
+
* Add : Implement bulk actions on image information bulk editor
|
301 |
+
* Add : Implement bulk actions on the link title manager
|
302 |
+
* Add : Check color for meta lenght: check is meta is too short or too long
|
303 |
+
* Add : Plugin installer with quick configuration
|
304 |
+
* Add : Environment checker on install (PHP Version, PHP Extensions, Apache Modules)
|
305 |
+
* Add : System Check menu to notify of server configuration problems after install
|
306 |
+
* Fix : Sitemap display on frontend
|
307 |
|
308 |
= 3.7.7 =
|
309 |
+
* Add : Add actions and filters for developers
|
310 |
|
311 |
= 3.7.6 =
|
312 |
+
* Fix : Redirect to home page when WPMS Addon is not activated
|
313 |
|
314 |
= 3.7.5 =
|
315 |
+
* Fix : Warning returned on frontend
|
316 |
+
* Fix : Load Dashboard widget content using ajax method (large amount of data)
|
317 |
+
* Fix : PHP warning in redirect URL interface
|
318 |
|
319 |
= 3.7.4 =
|
320 |
+
* Fix : Update alt meta for Elementor image in content
|
321 |
+
* Fix : Redirect URL
|
322 |
|
323 |
= 3.7.3 =
|
324 |
+
* Fix : Enhance code readability and performance
|
325 |
|
326 |
= 3.7.2 =
|
327 |
+
* Fix : JUtranslation share with JoomUnited
|
328 |
|
329 |
= 3.7.1 =
|
330 |
+
* Fix : Sitemap categories not properly added
|
331 |
+
* Fix : Broken link display column header
|
332 |
+
* Fix : Render meta description on frontend
|
333 |
|
334 |
= 3.7.0 =
|
335 |
+
* Add : Compatible with Gutemberg editor
|
336 |
+
* Fix : Reload analysis in metabox
|
337 |
+
* Fix : Render title tag
|
338 |
|
339 |
= 3.6.8 =
|
340 |
+
* Fix : Conflict with Origin PageBuilder plugin
|
341 |
+
* Fix : Save post and page slow request
|
342 |
|
343 |
= 3.6.7 =
|
344 |
+
* Fix : Meta box not loaded on WordPress multisite
|
345 |
|
346 |
= 3.6.6 =
|
347 |
+
* Fix : Sitemap column display
|
348 |
+
* Fix : Reload Google Analytics data
|
349 |
|
350 |
= 3.6.5 =
|
351 |
+
* Fix : Compatibility with php 5.3 and 5.4
|
352 |
|
353 |
= 3.6.4 =
|
354 |
+
* Fix : Google analytics tracking code removed some characters
|
355 |
+
* Fix : Send email (SEO report)
|
356 |
+
* Fix : Query duplicate meta
|
357 |
|
358 |
= 3.6.3 =
|
359 |
+
* Add : Change meta description max length (320 characters)
|
360 |
+
* Fix : Conflict with Antispam Bee plugin
|
361 |
+
* Fix : Page title word in content heading
|
362 |
|
363 |
= 3.6.2 =
|
364 |
+
* Fix : Saving translation does not apply
|
365 |
+
* Fix : JS error when edit a post (public false)
|
366 |
|
367 |
= 3.6.1 =
|
368 |
+
* Fix : Fatal error on frontend on certain configuration
|
369 |
|
370 |
= 3.6.0 =
|
371 |
+
* Add : Full code reformating for better performance and code comments
|
372 |
+
* Add : Using PHPCS to make standard definitions
|
373 |
|
374 |
= 3.5.3 =
|
375 |
+
* Fix : Display WordPress page with sitemap
|
376 |
+
* Fix : Set default image for facebook and Twitter
|
377 |
+
* Fix : Return error when using undefined get_term_meta function
|
378 |
|
379 |
= 3.5.2 =
|
380 |
+
* Fix : Create robots.txt file for multisite
|
381 |
+
* Fix : Add meta tags og:type and fb:app_id (Facebook page share)
|
382 |
|
383 |
= 3.5.1 =
|
384 |
+
* Language filter for meta, images and sitemap XML
|
385 |
+
* Fix : Encoding issue on dashboard page
|
386 |
+
* Fix : JS error when empty post content
|
387 |
|
388 |
= 3.5.0 =
|
389 |
+
* Fix : Check content of page builders: Visual composer, DIVI Builder, Beaver Builder, ACF, Site Origine, Themify builder, Live composer, Elementor plugins
|
390 |
+
* Add : Generate rich snippet breadcrumb shortcode and PHP code
|
391 |
+
* Fix : Redesign the image edition window
|
392 |
|
393 |
= 3.4.1 =
|
394 |
+
* Add : Meta keywords field in category meta edition
|
395 |
+
* Add : Update dashboard description and image compression layout
|
396 |
+
* Fix : Warning when 'wpio_images' table does not exist
|
397 |
|
398 |
= 3.4.0 =
|
399 |
+
* Add : Simple Analytics tracking only based on UA or JS snippet
|
400 |
+
* Add : Add image indexation system for large websites (image bulk editor)
|
401 |
+
* Add : Apply material design over all plugin views
|
402 |
+
* Add : Image information: Filter only images that require optimization
|
403 |
+
* Fix : Conflict with WP Latest Posts plugin
|
404 |
|
405 |
= 3.3.2 =
|
406 |
+
* Fix : Remove custom redirect rule not applied
|
407 |
+
* Fix : Wrong value in meta description for category
|
408 |
+
* Fix : Custom post types alway displayed in HTML sitemaps
|
409 |
|
410 |
= 3.3.1 =
|
411 |
+
* Fix : Remove upgrade notification when the ADDON is installed
|
412 |
+
* Fix : Change style for dashboard widgets
|
413 |
+
* Fix : Change layout and fix criteria in SEO page optimization
|
414 |
|
415 |
= 3.3.0 =
|
416 |
+
* Add : If an image information are filled, add it by default if empty if image is re-used
|
417 |
+
* Add : Compatibility with WPML, Polylang for meta edition and Media SEO content
|
418 |
+
* Add : Possibility to edit meta information on categories
|
419 |
+
* Add : Pro version notifications of features in some views
|
420 |
+
* Add : Dashboard widget with 6 SEO criteria
|
421 |
+
* Fix : Change the 404 error page title to remove the plugin name by default
|
422 |
|
423 |
= 3.2.6 =
|
424 |
+
* Add : Add builtin translation tool
|
425 |
+
* Fix : Wrong function used to get description length
|
426 |
|
427 |
= 3.2.5 =
|
428 |
+
* Add : Check DOM PHP activation install to avoid fatal error
|
429 |
+
* Fix : Image information edition with greek characters
|
430 |
|
431 |
= 3.2.4 =
|
432 |
+
* Add : WP Meta SEO Addon compatibility
|
433 |
+
* Fix : Conflict with DIVI layout injector plugin
|
434 |
|
435 |
= 3.2.3 =
|
436 |
+
* Fix : Image resize list does not refresh
|
437 |
+
* Fix : Meta image text replaced by image information
|
438 |
+
* Fix : Dashboard Alexa rank display
|
439 |
+
* Fix : Sharp URL suffix are detected as 404 by the redirect manager
|
440 |
+
* Fix : Phone numbers with '+' are detected as 404 by the redirect manager
|
441 |
+
* Fix : German characters are broken in the link manager
|
442 |
|
443 |
= 3.2.2 =
|
444 |
+
* Fix : Image information edition with a quote becomes empty
|
445 |
+
* Fix : Meta edition character count does not refresh using AJAX
|
446 |
|
447 |
= 3.2.1 =
|
448 |
+
* Add : Compatibility with WP Speed of Light plugin: https://www.joomunited.com/wordpress-products/wp-speed-of-light
|
449 |
|
450 |
= 3.2.0 =
|
451 |
+
* Add : Enable Google Analytics tracking with token access
|
452 |
+
* Add : Tracking options to exclude WordPress user groups from analytics
|
453 |
+
* Add : File download statistics activation
|
454 |
+
* Add : Display Analytics statistics: session, users, organic...
|
455 |
|
456 |
= 3.0.2 =
|
457 |
+
* Add : Add Import meta from Yoast premium plugin
|
458 |
+
* Fix : Font called from http instead of https from dashboard
|
459 |
|
460 |
= 3.0.1 =
|
461 |
+
* Fix : XML menu generation don't handle menu levels
|
462 |
+
* Fix : Mailto links are indexed as 404 error in the redirect manager
|
463 |
+
* Fix : PHP warning when link editor is activated in editor
|
464 |
+
* Fix : Secure code
|
465 |
|
466 |
= 3.0.0 =
|
467 |
+
* Add : Add XML sitemap feature
|
468 |
+
* Add : Add HTML sitemap feature
|
469 |
+
* Add : Add sitemap source: menus (any content), post, page, category, author
|
470 |
+
* Add : Add HTML sitemap content position in page
|
471 |
+
* Add : Add XML sitemap copy option on root option
|
472 |
+
* Add : Add XML sitemap link in robot.txt option
|
473 |
+
* Add : Add help text for all the sitemap parameters
|
474 |
+
* Add : Add help text for all the global parameters
|
475 |
+
* Add : Add AJAX sitemap regeneration
|
476 |
|
477 |
= 2.2.1 =
|
478 |
+
* Add : Update sql sentences to improve query speed
|
479 |
|
480 |
= 2.2.0 =
|
481 |
+
* Add : Follow/Nofollow bulk link edition
|
482 |
+
* Add : Link re-index tool from the bulk link editor
|
483 |
+
* Add : Follow/Nofollow on Wordpress content (onpage SEO)
|
484 |
+
* Add : Index/Noindex on Wordpress content (onpage SEO)
|
485 |
|
486 |
= 2.1.0 =
|
487 |
+
* Add : Add ImageRecycle images and PDF compression integration (https://www.imagerecycle.com)
|
488 |
|
489 |
= 2.0.3 =
|
490 |
+
* Fix : On page analysis return wrong result on header title in content
|
491 |
+
* Fix : Update language on image bulk edit view
|
492 |
|
493 |
= 2.0.2 =
|
494 |
+
* Fix : Detect new type of 404 and add tooltip
|
495 |
+
* Fix : Comment content not detected
|
496 |
+
* Fix : Autosaving too fast in safari or firefox
|
497 |
|
498 |
= 2.0.1 =
|
499 |
+
* Fix : Google font style on Safari browser
|
500 |
|
501 |
= 2.0.0 =
|
502 |
+
* Add : Add 404 and redirect manager
|
503 |
+
* Add : Add Options to redirect all 404 to home page
|
504 |
+
* Add : Add Setup 404 page as: WP Meta SEO page, custom page, default page
|
505 |
|
506 |
= 1.7.3 =
|
507 |
+
* Fix : og: link broken (facebook)
|
508 |
|
509 |
= 1.7.2 =
|
510 |
+
* Add : Page title as content title or as SEO meta title (option)
|
511 |
|
512 |
= 1.7.1 =
|
513 |
+
* Add : Edit separately the content title from the meta title (for search engine)
|
514 |
+
* Fix : Fix RSS feed is broken with WP Meta SEO 1.7.0
|
515 |
|
516 |
= 1.7.0 =
|
517 |
+
* Add : Add link SEO title field in link editor tool
|
518 |
+
* Add : Add a SEO bulk edition view on your links titles (of all your content)
|
519 |
+
* Add : Automatic meta SEO addition for category view: add category title as meta title and category description as meta description
|
520 |
+
* Add : Add SEO dashboard check for link titles
|
521 |
+
* Fix : WooCommerce meta description and title in category view (automatic)
|
522 |
+
* Fix : WP Meta SEO language to be conform to plugin directory translation tool
|
523 |
|
524 |
= 1.6.0 =
|
525 |
+
* Add : Add meta keywords edition in bulk editor
|
526 |
+
* Add : Add option to for SEO criteria validation
|
527 |
|
528 |
= 1.5.1 =
|
529 |
+
* Fix : Home page meta not working on some themes
|
530 |
+
* Fix : Break foreach when search title in SEO content (title in heading)
|
531 |
|
532 |
= 1.5.0 =
|
533 |
+
* Add : Add help tooltip to explain on page validation SEO criteria
|
534 |
+
* Add : Add help tooltip to explain dashboard SEO parameters
|
535 |
+
* Add : Put snippet preview title in a column on SEO bulk view edition
|
536 |
+
* Add : Add SEO and check notification for robot.txt that lock search engine
|
537 |
+
* Add : Update EN and FR language files
|
538 |
|
539 |
= 1.4.0 =
|
540 |
+
* Add : Bulk copy new option: content title to meta title
|
541 |
+
* Add : Bulk copy new option: image name to alt text
|
542 |
+
* Add : Bulk copy new option: image name to image title
|
543 |
+
* Fix : Twitter card on SEO on page optimization
|
544 |
+
* Fix : SEO meta empty in some themes
|
545 |
|
546 |
= 1.3.0 =
|
547 |
+
* Add : New SEO check dashboard
|
548 |
+
* Add : Check for SEO permalinks
|
549 |
+
* Add : Check for meta description
|
550 |
+
* Add : Check for image HTML resizing
|
551 |
+
* Add : Check for image SEO: title, alt and description
|
552 |
+
* Add : Check for new content
|
553 |
|
554 |
= 1.2.0 =
|
555 |
+
* Add : Change language to po/mo files
|
556 |
+
* Add : Include .pot file and French language
|
557 |
+
* Add : Setting for home page meta
|
558 |
+
* Add : Bigger edit meta boxes
|
559 |
+
* Add : Update icon of notification in meta view
|
560 |
|
561 |
= 1.1.0 =
|
562 |
+
* Add : On page SEO analysis
|
563 |
+
* Add : Social sharing custom content
|
564 |
|
565 |
= 1.0.4 =
|
566 |
+
* Fix : Check empty array
|
567 |
|
568 |
= 1.0.3 =
|
569 |
+
* Fix : Escape meta title and meta description
|
570 |
|
571 |
= 1.0.2 =
|
572 |
+
* Fix : Filter broken and icons broken
|
573 |
|
574 |
= 1.0.1 =
|
575 |
+
* Fix : display (no title) in column title if post is no titled
|
576 |
|
577 |
= 1.0.0 =
|
578 |
+
* Add : Initial release
|
579 |
|
580 |
|
581 |
|
requirements.php
CHANGED
@@ -173,7 +173,7 @@ class JUCheckRequirements
|
|
173 |
self::checkRequirementFunctions();
|
174 |
self::checkRequiredPlugins();
|
175 |
self::checkMinimumAddonsVersion();
|
176 |
-
if (is_admin() && !
|
177 |
self::displayNotify();
|
178 |
}
|
179 |
|
173 |
self::checkRequirementFunctions();
|
174 |
self::checkRequiredPlugins();
|
175 |
self::checkMinimumAddonsVersion();
|
176 |
+
if (is_admin() && !(defined('DOING_AJAX') && DOING_AJAX)) {
|
177 |
self::displayNotify();
|
178 |
}
|
179 |
|
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.
|
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.
|
125 |
}
|
126 |
|
127 |
if (!defined('WPMS_CLIENTID')) {
|
@@ -931,7 +931,7 @@ function wpmsTemplateRedirect()
|
|
931 |
}
|
932 |
|
933 |
if ($target) {
|
934 |
-
if (empty($status_redirect)) {
|
935 |
$status_redirect = 302;
|
936 |
}
|
937 |
wp_redirect($target, $status_redirect);
|
@@ -1032,7 +1032,7 @@ function wpmsTemplateRedirect()
|
|
1032 |
$status_redirect = 302;
|
1033 |
}
|
1034 |
|
1035 |
-
if (empty($status_redirect)) {
|
1036 |
$status_redirect = 302;
|
1037 |
}
|
1038 |
|
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.3
|
8 |
* Text Domain: wp-meta-seo
|
9 |
* Domain Path: /languages
|
10 |
* Author: JoomUnited
|
121 |
/**
|
122 |
* Plugin version
|
123 |
*/
|
124 |
+
define('WPMSEO_VERSION', '4.0.3');
|
125 |
}
|
126 |
|
127 |
if (!defined('WPMS_CLIENTID')) {
|
931 |
}
|
932 |
|
933 |
if ($target) {
|
934 |
+
if (empty($status_redirect) && !in_array($status_redirect, array(301, 302, 307))) {
|
935 |
$status_redirect = 302;
|
936 |
}
|
937 |
wp_redirect($target, $status_redirect);
|
1032 |
$status_redirect = 302;
|
1033 |
}
|
1034 |
|
1035 |
+
if (empty($status_redirect) && !in_array($status_redirect, array(301, 302, 307))) {
|
1036 |
$status_redirect = 302;
|
1037 |
}
|
1038 |
|