Version Description
(19/02/2021) = * FIX "Use the target keywords if not alternative text set for the image" option
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 4.4.0.5 |
Comparing to | |
See all releases |
Code changes from version 4.4.0.4 to 4.4.0.5
- inc/functions/options-advanced.php +215 -177
- readme.txt +3 -1
- seopress.php +2 -2
- vendor/composer/InstalledVersions.php +2 -2
- vendor/composer/installed.php +2 -2
inc/functions/options-advanced.php
CHANGED
@@ -1,253 +1,291 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
3 |
|
4 |
//Advanced
|
5 |
//=================================================================================================
|
6 |
//?replytocom
|
7 |
function seopress_advanced_advanced_replytocom_option() {
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
|
|
16 |
}
|
17 |
|
18 |
-
if (
|
19 |
-
|
20 |
}
|
21 |
-
function seopress_remove_reply_to_com(
|
22 |
-
|
23 |
}
|
24 |
|
25 |
//WordPress Meta generator
|
26 |
function seopress_advanced_advanced_wp_generator_option() {
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
|
|
35 |
}
|
36 |
|
37 |
-
if (
|
38 |
-
|
39 |
}
|
40 |
|
41 |
//Remove hentry post class
|
42 |
function seopress_advanced_advanced_hentry_option() {
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
}
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
58 |
}
|
59 |
|
60 |
//WordPress Shortlink
|
61 |
function seopress_advanced_advanced_wp_shortlink_option() {
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
70 |
}
|
71 |
|
72 |
-
if (
|
73 |
-
|
74 |
}
|
75 |
|
76 |
//WordPress WLWManifest
|
77 |
function seopress_advanced_advanced_wp_wlw_option() {
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
86 |
}
|
87 |
|
88 |
-
if (
|
89 |
-
|
90 |
}
|
91 |
|
92 |
//WordPress RSD
|
93 |
function seopress_advanced_advanced_wp_rsd_option() {
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
|
|
102 |
}
|
103 |
|
104 |
-
if (
|
105 |
-
|
106 |
}
|
107 |
|
108 |
//Google site verification
|
109 |
function seopress_advanced_advanced_google_option() {
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
|
|
118 |
}
|
119 |
|
120 |
function seopress_advanced_advanced_google_hook() {
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
}
|
127 |
if (is_home() || is_front_page()) {
|
128 |
-
|
129 |
}
|
130 |
|
131 |
//Bing site verification
|
132 |
function seopress_advanced_advanced_bing_option() {
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
}
|
|
|
142 |
|
143 |
function seopress_advanced_advanced_bing_hook() {
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
}
|
150 |
if (is_home() || is_front_page()) {
|
151 |
-
|
152 |
}
|
153 |
|
154 |
//Pinterest site verification
|
155 |
function seopress_advanced_advanced_pinterest_option() {
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
}
|
|
|
165 |
|
166 |
function seopress_advanced_advanced_pinterest_hook() {
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
}
|
173 |
|
174 |
if (is_home() || is_front_page()) {
|
175 |
-
|
176 |
}
|
177 |
|
178 |
//Yandex site verification
|
179 |
function seopress_advanced_advanced_yandex_option() {
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
}
|
|
|
189 |
|
190 |
function seopress_advanced_advanced_yandex_hook() {
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
}
|
197 |
|
198 |
if (is_home() || is_front_page()) {
|
199 |
-
|
200 |
}
|
201 |
|
202 |
//Automatic alt text based on target kw
|
203 |
function seopress_advanced_advanced_image_auto_alt_target_kw_option() {
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
}
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?php
|
2 |
+
|
3 |
+
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
|
4 |
|
5 |
//Advanced
|
6 |
//=================================================================================================
|
7 |
//?replytocom
|
8 |
function seopress_advanced_advanced_replytocom_option() {
|
9 |
+
$seopress_advanced_advanced_replytocom_option = get_option('seopress_advanced_option_name');
|
10 |
+
if ( ! empty($seopress_advanced_advanced_replytocom_option)) {
|
11 |
+
foreach ($seopress_advanced_advanced_replytocom_option as $key => $seopress_advanced_advanced_replytocom_value) {
|
12 |
+
$options[$key] = $seopress_advanced_advanced_replytocom_value;
|
13 |
+
}
|
14 |
+
if (isset($seopress_advanced_advanced_replytocom_option['seopress_advanced_advanced_replytocom'])) {
|
15 |
+
return $seopress_advanced_advanced_replytocom_option['seopress_advanced_advanced_replytocom'];
|
16 |
+
}
|
17 |
+
}
|
18 |
}
|
19 |
|
20 |
+
if ('1' == seopress_advanced_advanced_replytocom_option()) {
|
21 |
+
add_filter('comment_reply_link', 'seopress_remove_reply_to_com');
|
22 |
}
|
23 |
+
function seopress_remove_reply_to_com($link) {
|
24 |
+
return preg_replace('/href=\'(.*(\?|&)replytocom=(\d+)#respond)/', 'href=\'#comment-$3', $link);
|
25 |
}
|
26 |
|
27 |
//WordPress Meta generator
|
28 |
function seopress_advanced_advanced_wp_generator_option() {
|
29 |
+
$seopress_advanced_advanced_wp_generator_option = get_option('seopress_advanced_option_name');
|
30 |
+
if ( ! empty($seopress_advanced_advanced_wp_generator_option)) {
|
31 |
+
foreach ($seopress_advanced_advanced_wp_generator_option as $key => $seopress_advanced_advanced_wp_generator_value) {
|
32 |
+
$options[$key] = $seopress_advanced_advanced_wp_generator_value;
|
33 |
+
}
|
34 |
+
if (isset($seopress_advanced_advanced_wp_generator_option['seopress_advanced_advanced_wp_generator'])) {
|
35 |
+
return $seopress_advanced_advanced_wp_generator_option['seopress_advanced_advanced_wp_generator'];
|
36 |
+
}
|
37 |
+
}
|
38 |
}
|
39 |
|
40 |
+
if ('1' == seopress_advanced_advanced_wp_generator_option()) {
|
41 |
+
remove_action('wp_head', 'wp_generator');
|
42 |
}
|
43 |
|
44 |
//Remove hentry post class
|
45 |
function seopress_advanced_advanced_hentry_option() {
|
46 |
+
$seopress_advanced_advanced_hentry_option = get_option('seopress_advanced_option_name');
|
47 |
+
if ( ! empty($seopress_advanced_advanced_hentry_option)) {
|
48 |
+
foreach ($seopress_advanced_advanced_hentry_option as $key => $seopress_advanced_advanced_hentry_value) {
|
49 |
+
$options[$key] = $seopress_advanced_advanced_hentry_value;
|
50 |
+
}
|
51 |
+
if (isset($seopress_advanced_advanced_hentry_option['seopress_advanced_advanced_hentry'])) {
|
52 |
+
return $seopress_advanced_advanced_hentry_option['seopress_advanced_advanced_hentry'];
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
if ('1' == seopress_advanced_advanced_hentry_option()) {
|
57 |
+
function seopress_advanced_advanced_hentry_hook($classes) {
|
58 |
+
$classes = array_diff($classes, ['hentry']);
|
59 |
+
|
60 |
+
return $classes;
|
61 |
+
}
|
62 |
+
add_filter('post_class', 'seopress_advanced_advanced_hentry_hook');
|
63 |
}
|
64 |
|
65 |
//WordPress Shortlink
|
66 |
function seopress_advanced_advanced_wp_shortlink_option() {
|
67 |
+
$seopress_advanced_advanced_wp_shortlink_option = get_option('seopress_advanced_option_name');
|
68 |
+
if ( ! empty($seopress_advanced_advanced_wp_shortlink_option)) {
|
69 |
+
foreach ($seopress_advanced_advanced_wp_shortlink_option as $key => $seopress_advanced_advanced_wp_shortlink_value) {
|
70 |
+
$options[$key] = $seopress_advanced_advanced_wp_shortlink_value;
|
71 |
+
}
|
72 |
+
if (isset($seopress_advanced_advanced_wp_shortlink_option['seopress_advanced_advanced_wp_shortlink'])) {
|
73 |
+
return $seopress_advanced_advanced_wp_shortlink_option['seopress_advanced_advanced_wp_shortlink'];
|
74 |
+
}
|
75 |
+
}
|
76 |
}
|
77 |
|
78 |
+
if ('1' == seopress_advanced_advanced_wp_shortlink_option()) {
|
79 |
+
remove_action('wp_head', 'wp_shortlink_wp_head');
|
80 |
}
|
81 |
|
82 |
//WordPress WLWManifest
|
83 |
function seopress_advanced_advanced_wp_wlw_option() {
|
84 |
+
$seopress_advanced_advanced_wp_wlw_option = get_option('seopress_advanced_option_name');
|
85 |
+
if ( ! empty($seopress_advanced_advanced_wp_wlw_option)) {
|
86 |
+
foreach ($seopress_advanced_advanced_wp_wlw_option as $key => $seopress_advanced_advanced_wp_wlw_value) {
|
87 |
+
$options[$key] = $seopress_advanced_advanced_wp_wlw_value;
|
88 |
+
}
|
89 |
+
if (isset($seopress_advanced_advanced_wp_wlw_option['seopress_advanced_advanced_wp_wlw'])) {
|
90 |
+
return $seopress_advanced_advanced_wp_wlw_option['seopress_advanced_advanced_wp_wlw'];
|
91 |
+
}
|
92 |
+
}
|
93 |
}
|
94 |
|
95 |
+
if ('1' == seopress_advanced_advanced_wp_wlw_option()) {
|
96 |
+
remove_action('wp_head', 'wlwmanifest_link');
|
97 |
}
|
98 |
|
99 |
//WordPress RSD
|
100 |
function seopress_advanced_advanced_wp_rsd_option() {
|
101 |
+
$seopress_advanced_advanced_wp_rsd_option = get_option('seopress_advanced_option_name');
|
102 |
+
if ( ! empty($seopress_advanced_advanced_wp_rsd_option)) {
|
103 |
+
foreach ($seopress_advanced_advanced_wp_rsd_option as $key => $seopress_advanced_advanced_wp_rsd_value) {
|
104 |
+
$options[$key] = $seopress_advanced_advanced_wp_rsd_value;
|
105 |
+
}
|
106 |
+
if (isset($seopress_advanced_advanced_wp_rsd_option['seopress_advanced_advanced_wp_rsd'])) {
|
107 |
+
return $seopress_advanced_advanced_wp_rsd_option['seopress_advanced_advanced_wp_rsd'];
|
108 |
+
}
|
109 |
+
}
|
110 |
}
|
111 |
|
112 |
+
if ('1' == seopress_advanced_advanced_wp_rsd_option()) {
|
113 |
+
remove_action('wp_head', 'rsd_link');
|
114 |
}
|
115 |
|
116 |
//Google site verification
|
117 |
function seopress_advanced_advanced_google_option() {
|
118 |
+
$seopress_advanced_advanced_google_option = get_option('seopress_advanced_option_name');
|
119 |
+
if ( ! empty($seopress_advanced_advanced_google_option)) {
|
120 |
+
foreach ($seopress_advanced_advanced_google_option as $key => $seopress_advanced_advanced_google_value) {
|
121 |
+
$options[$key] = $seopress_advanced_advanced_google_value;
|
122 |
+
}
|
123 |
+
if (isset($seopress_advanced_advanced_google_option['seopress_advanced_advanced_google'])) {
|
124 |
+
return $seopress_advanced_advanced_google_option['seopress_advanced_advanced_google'];
|
125 |
+
}
|
126 |
+
}
|
127 |
}
|
128 |
|
129 |
function seopress_advanced_advanced_google_hook() {
|
130 |
+
if ('' != seopress_advanced_advanced_google_option()) {
|
131 |
+
$seopress_advanced_advanced_google = '<meta name="google-site-verification" content="' . seopress_advanced_advanced_google_option() . '" />';
|
132 |
+
$seopress_advanced_advanced_google .= "\n";
|
133 |
+
echo $seopress_advanced_advanced_google;
|
134 |
+
}
|
135 |
}
|
136 |
if (is_home() || is_front_page()) {
|
137 |
+
add_action('wp_head', 'seopress_advanced_advanced_google_hook', 2);
|
138 |
}
|
139 |
|
140 |
//Bing site verification
|
141 |
function seopress_advanced_advanced_bing_option() {
|
142 |
+
$seopress_advanced_advanced_bing_option = get_option('seopress_advanced_option_name');
|
143 |
+
if ( ! empty($seopress_advanced_advanced_bing_option)) {
|
144 |
+
foreach ($seopress_advanced_advanced_bing_option as $key => $seopress_advanced_advanced_bing_value) {
|
145 |
+
$options[$key] = $seopress_advanced_advanced_bing_value;
|
146 |
+
}
|
147 |
+
if (isset($seopress_advanced_advanced_bing_option['seopress_advanced_advanced_bing'])) {
|
148 |
+
return $seopress_advanced_advanced_bing_option['seopress_advanced_advanced_bing'];
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
152 |
|
153 |
function seopress_advanced_advanced_bing_hook() {
|
154 |
+
if ('' != seopress_advanced_advanced_bing_option()) {
|
155 |
+
$seopress_advanced_advanced_bing = '<meta name="msvalidate.01" content="' . seopress_advanced_advanced_bing_option() . '" />';
|
156 |
+
$seopress_advanced_advanced_bing .= "\n";
|
157 |
+
echo $seopress_advanced_advanced_bing;
|
158 |
+
}
|
159 |
}
|
160 |
if (is_home() || is_front_page()) {
|
161 |
+
add_action('wp_head', 'seopress_advanced_advanced_bing_hook', 2);
|
162 |
}
|
163 |
|
164 |
//Pinterest site verification
|
165 |
function seopress_advanced_advanced_pinterest_option() {
|
166 |
+
$seopress_advanced_advanced_pinterest_option = get_option('seopress_advanced_option_name');
|
167 |
+
if ( ! empty($seopress_advanced_advanced_pinterest_option)) {
|
168 |
+
foreach ($seopress_advanced_advanced_pinterest_option as $key => $seopress_advanced_advanced_pinterest_value) {
|
169 |
+
$options[$key] = $seopress_advanced_advanced_pinterest_value;
|
170 |
+
}
|
171 |
+
if (isset($seopress_advanced_advanced_pinterest_option['seopress_advanced_advanced_pinterest'])) {
|
172 |
+
return $seopress_advanced_advanced_pinterest_option['seopress_advanced_advanced_pinterest'];
|
173 |
+
}
|
174 |
+
}
|
175 |
+
}
|
176 |
|
177 |
function seopress_advanced_advanced_pinterest_hook() {
|
178 |
+
if ('' != seopress_advanced_advanced_pinterest_option()) {
|
179 |
+
$seopress_advanced_advanced_pinterest = '<meta name="p:domain_verify" content="' . seopress_advanced_advanced_pinterest_option() . '" />';
|
180 |
+
$seopress_advanced_advanced_pinterest .= "\n";
|
181 |
+
echo $seopress_advanced_advanced_pinterest;
|
182 |
+
}
|
183 |
}
|
184 |
|
185 |
if (is_home() || is_front_page()) {
|
186 |
+
add_action('wp_head', 'seopress_advanced_advanced_pinterest_hook', 2);
|
187 |
}
|
188 |
|
189 |
//Yandex site verification
|
190 |
function seopress_advanced_advanced_yandex_option() {
|
191 |
+
$seopress_advanced_advanced_yandex_option = get_option('seopress_advanced_option_name');
|
192 |
+
if ( ! empty($seopress_advanced_advanced_yandex_option)) {
|
193 |
+
foreach ($seopress_advanced_advanced_yandex_option as $key => $seopress_advanced_advanced_yandex_value) {
|
194 |
+
$options[$key] = $seopress_advanced_advanced_yandex_value;
|
195 |
+
}
|
196 |
+
if (isset($seopress_advanced_advanced_yandex_option['seopress_advanced_advanced_yandex'])) {
|
197 |
+
return $seopress_advanced_advanced_yandex_option['seopress_advanced_advanced_yandex'];
|
198 |
+
}
|
199 |
+
}
|
200 |
+
}
|
201 |
|
202 |
function seopress_advanced_advanced_yandex_hook() {
|
203 |
+
if ('' != seopress_advanced_advanced_yandex_option()) {
|
204 |
+
$seopress_advanced_advanced_yandex = '<meta name="yandex-verification" content="' . seopress_advanced_advanced_yandex_option() . '" />';
|
205 |
+
$seopress_advanced_advanced_yandex .= "\n";
|
206 |
+
echo $seopress_advanced_advanced_yandex;
|
207 |
+
}
|
208 |
}
|
209 |
|
210 |
if (is_home() || is_front_page()) {
|
211 |
+
add_action('wp_head', 'seopress_advanced_advanced_yandex_hook', 2);
|
212 |
}
|
213 |
|
214 |
//Automatic alt text based on target kw
|
215 |
function seopress_advanced_advanced_image_auto_alt_target_kw_option() {
|
216 |
+
$seopress_advanced_advanced_image_auto_alt_target_kw_option = get_option('seopress_advanced_option_name');
|
217 |
+
if ( ! empty($seopress_advanced_advanced_image_auto_alt_target_kw_option)) {
|
218 |
+
foreach ($seopress_advanced_advanced_image_auto_alt_target_kw_option as $key => $seopress_advanced_advanced_image_auto_alt_target_kw_value) {
|
219 |
+
$options[$key] = $seopress_advanced_advanced_image_auto_alt_target_kw_value;
|
220 |
+
}
|
221 |
+
if (isset($seopress_advanced_advanced_image_auto_alt_target_kw_option['seopress_advanced_advanced_image_auto_alt_target_kw'])) {
|
222 |
+
return $seopress_advanced_advanced_image_auto_alt_target_kw_option['seopress_advanced_advanced_image_auto_alt_target_kw'];
|
223 |
+
}
|
224 |
+
}
|
225 |
+
}
|
226 |
+
|
227 |
+
if ('' != seopress_advanced_advanced_image_auto_alt_target_kw_option()) {
|
228 |
+
function seopress_auto_img_alt_thumb_target_kw($atts, $attachment) {
|
229 |
+
if ( ! is_admin()) {
|
230 |
+
if (empty($atts['alt'])) {
|
231 |
+
if ('' != get_post_meta(get_the_ID(), '_seopress_analysis_target_kw', true)) {
|
232 |
+
$atts['alt'] = esc_html(get_post_meta(get_the_ID(), '_seopress_analysis_target_kw', true));
|
233 |
+
}
|
234 |
+
}
|
235 |
+
}
|
236 |
+
|
237 |
+
return $atts;
|
238 |
+
}
|
239 |
+
add_filter('wp_get_attachment_image_attributes', 'seopress_auto_img_alt_thumb_target_kw', 10, 2);
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Replace alt for content no use gutenberg.
|
243 |
+
*
|
244 |
+
* @since 4.4.0.5
|
245 |
+
*
|
246 |
+
* @param string $content
|
247 |
+
*
|
248 |
+
* @return void
|
249 |
+
*/
|
250 |
+
function seopress_auto_img_alt_target_kw($content) {
|
251 |
+
if (empty($content)) {
|
252 |
+
return $content;
|
253 |
+
}
|
254 |
+
|
255 |
+
$target_keyword = get_post_meta(get_the_ID(), '_seopress_analysis_target_kw', true);
|
256 |
+
|
257 |
+
if (empty($target_keyword)) {
|
258 |
+
return $content;
|
259 |
+
}
|
260 |
+
|
261 |
+
$regex = '#<img[^>]* alt=(?:\"|\')(?<alt>([^"]*))(?:\"|\')[^>]*>#mU';
|
262 |
+
|
263 |
+
preg_match_all($regex, $content, $matches);
|
264 |
+
|
265 |
+
$matchesTag = $matches[0];
|
266 |
+
$matchesAlt = $matches['alt'];
|
267 |
+
|
268 |
+
if (empty($matchesAlt)) {
|
269 |
+
return $content;
|
270 |
+
}
|
271 |
+
|
272 |
+
$regexSrc = '#<img[^>]* src=(?:\"|\')(?<src>([^"]*))(?:\"|\')[^>]*>#mU';
|
273 |
+
|
274 |
+
foreach ($matchesAlt as $key => $alt) {
|
275 |
+
if ( ! empty($alt)) {
|
276 |
+
continue;
|
277 |
+
}
|
278 |
+
$contentMatch = $matchesTag[$key];
|
279 |
+
preg_match($regexSrc, $contentMatch, $matchSrc);
|
280 |
+
|
281 |
+
$contentToReplace = str_replace('alt=""', 'alt="' . htmlspecialchars(esc_html($target_keyword)) . '"', $contentMatch);
|
282 |
+
|
283 |
+
if ($contentMatch !== $contentToReplace) {
|
284 |
+
$content = str_replace($contentMatch, $contentToReplace, $content);
|
285 |
+
}
|
286 |
+
}
|
287 |
+
|
288 |
+
return $content;
|
289 |
+
}
|
290 |
+
add_filter('the_content', 'seopress_auto_img_alt_target_kw', 20);
|
291 |
+
}
|
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, XML sitemap, meta title, open graph, content analysis, knowledge grap
|
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.6
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 4.4.0.
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -320,6 +320,8 @@ You're theme is probably using a deprecated function to handle the title. <a hre
|
|
320 |
9. Schemas metabox
|
321 |
|
322 |
== Changelog ==
|
|
|
|
|
323 |
= 4.4.0.4 (18/02/2021) =
|
324 |
* INFO Add "View my RSS feed" button to SEO, PRO, RSS tab
|
325 |
* INFO Improve performance for video xml sitemap
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.6
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 4.4.0.5
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
320 |
9. Schemas metabox
|
321 |
|
322 |
== Changelog ==
|
323 |
+
= 4.4.0.5 (19/02/2021) =
|
324 |
+
* FIX "Use the target keywords if not alternative text set for the image" option
|
325 |
= 4.4.0.4 (18/02/2021) =
|
326 |
* INFO Add "View my RSS feed" button to SEO, PRO, RSS tab
|
327 |
* INFO Improve performance for video xml sitemap
|
seopress.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: SEOPress
|
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: SEOPress
|
7 |
-
Version: 4.4.0.
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
//Define
|
57 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
-
define('SEOPRESS_VERSION', '4.4.0.
|
59 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
60 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
61 |
define('SEOPRESS_TEMPLATE_DIR', SEOPRESS_PLUGIN_DIR_PATH . 'templates');
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: SEOPress
|
7 |
+
Version: 4.4.0.5
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
//Define
|
57 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
+
define('SEOPRESS_VERSION', '4.4.0.5');
|
59 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
60 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
61 |
define('SEOPRESS_TEMPLATE_DIR', SEOPRESS_PLUGIN_DIR_PATH . 'templates');
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -29,7 +29,7 @@ private static $installed = array (
|
|
29 |
'aliases' =>
|
30 |
array (
|
31 |
),
|
32 |
-
'reference' => '
|
33 |
'name' => 'wp-seopress/wp-seopress',
|
34 |
),
|
35 |
'versions' =>
|
@@ -41,7 +41,7 @@ private static $installed = array (
|
|
41 |
'aliases' =>
|
42 |
array (
|
43 |
),
|
44 |
-
'reference' => '
|
45 |
),
|
46 |
),
|
47 |
);
|
29 |
'aliases' =>
|
30 |
array (
|
31 |
),
|
32 |
+
'reference' => 'c7c565f74fc78701b8b8b5bea63c77f2c5179fa1',
|
33 |
'name' => 'wp-seopress/wp-seopress',
|
34 |
),
|
35 |
'versions' =>
|
41 |
'aliases' =>
|
42 |
array (
|
43 |
),
|
44 |
+
'reference' => 'c7c565f74fc78701b8b8b5bea63c77f2c5179fa1',
|
45 |
),
|
46 |
),
|
47 |
);
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => 'wp-seopress/wp-seopress',
|
11 |
),
|
12 |
'versions' =>
|
@@ -18,7 +18,7 @@
|
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
-
'reference' => '
|
22 |
),
|
23 |
),
|
24 |
);
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => 'c7c565f74fc78701b8b8b5bea63c77f2c5179fa1',
|
10 |
'name' => 'wp-seopress/wp-seopress',
|
11 |
),
|
12 |
'versions' =>
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
+
'reference' => 'c7c565f74fc78701b8b8b5bea63c77f2c5179fa1',
|
22 |
),
|
23 |
),
|
24 |
);
|