SEOPress - Version 4.7.0.1

Version Description

(21/05/2021) = * FIX Remove old file generating a bug in schema rendering

Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 4.7.0.1
Comparing to
See all releases

Code changes from version 4.7 to 4.7.0.1

Files changed (3) hide show
  1. inc/admin/ajax-migrate/aio.php +143 -64
  2. readme.txt +4 -2
  3. seopress.php +2 -2
inc/admin/ajax-migrate/aio.php CHANGED
@@ -5,7 +5,8 @@ defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks
5
  ///////////////////////////////////////////////////////////////////////////////////////////////////
6
  //AIO migration
7
  ///////////////////////////////////////////////////////////////////////////////////////////////////
8
- function seopress_aio_migration() {
 
9
  check_ajax_referer('seopress_aio_migrate_nonce', $_POST['_ajax_nonce'], true);
10
 
11
  if (current_user_can(seopress_capability('manage_options', 'migration')) && is_admin()) {
@@ -20,58 +21,6 @@ function seopress_aio_migration() {
20
  global $post;
21
 
22
  if ($offset > $total_count_posts) {
23
- wp_reset_query();
24
-
25
- $args = [
26
- //'number' => $increment,
27
- 'hide_empty' => false,
28
- //'offset' => $offset,
29
- 'fields' => 'ids',
30
- ];
31
- $aio_query_terms = get_terms($args);
32
-
33
- if ($aio_query_terms) {
34
- foreach ($aio_query_terms as $term_id) {
35
- if ('' != get_term_meta($term_id, '_aioseop_title', true)) { //Import title tag
36
- update_term_meta($term_id, '_seopress_titles_title', get_term_meta($term_id, '_aioseop_title', true));
37
- }
38
- if ('' != get_term_meta($term_id, '_aioseop_description', true)) { //Import meta desc
39
- update_term_meta($term_id, '_seopress_titles_desc', get_term_meta($term_id, '_aioseop_description', true));
40
- }
41
- if ('' != get_term_meta($term_id, '_aioseop_opengraph_settings', true)) { //Import Facebook / Twitter Title
42
- $_aioseop_opengraph_settings = get_term_meta($term_id, '_aioseop_opengraph_settings', true);
43
- if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
44
- update_term_meta($term_id, '_seopress_social_fb_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
45
- update_term_meta($term_id, '_seopress_social_twitter_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
46
- }
47
- }
48
- if ('' != get_term_meta($term_id, '_aioseop_opengraph_settings', true)) { //Import Facebook / Twitter Title
49
- $_aioseop_opengraph_settings = get_term_meta($term_id, '_aioseop_opengraph_settings', true);
50
- if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_desc'])) {
51
- update_term_meta($term_id, '_seopress_social_fb_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_desc']);
52
- update_term_meta($term_id, '_seopress_social_twitter_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_desc']);
53
- }
54
- }
55
- if ('' != get_term_meta($term_id, '_aioseop_opengraph_settings', true)) { //Import Facebook Image
56
- $_aioseop_opengraph_settings = get_term_meta($term_id, '_aioseop_opengraph_settings', true);
57
- if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_image'])) {
58
- update_term_meta($term_id, '_seopress_social_fb_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg']);
59
- }
60
- }
61
- if ('' != get_term_meta($term_id, '_aioseop_opengraph_settings', true)) { //Import Twitter Image
62
- $_aioseop_opengraph_settings = get_term_meta($term_id, '_aioseop_opengraph_settings', true);
63
- if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_image'])) {
64
- update_term_meta($term_id, '_seopress_social_twitter_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg_twitter']);
65
- }
66
- }
67
- if ('on' == get_term_meta($term_id, '_aioseop_noindex', true)) { //Import Robots NoIndex
68
- update_term_meta($term_id, '_seopress_robots_index', 'yes');
69
- }
70
- if ('on' == get_term_meta($term_id, '_aioseop_nofollow', true)) { //Import Robots NoIndex
71
- update_term_meta($term_id, '_seopress_robots_follow', 'yes');
72
- }
73
- }
74
- }
75
  $offset = 'done';
76
  wp_reset_query();
77
  } else {
@@ -86,44 +35,174 @@ function seopress_aio_migration() {
86
 
87
  if ($aio_query) {
88
  foreach ($aio_query as $post) {
89
- if ('' != get_post_meta($post->ID, '_aioseop_title', true)) { //Import title tag
 
 
90
  update_post_meta($post->ID, '_seopress_titles_title', get_post_meta($post->ID, '_aioseop_title', true));
91
  }
92
- if ('' != get_post_meta($post->ID, '_aioseop_description', true)) { //Import meta desc
 
 
93
  update_post_meta($post->ID, '_seopress_titles_desc', get_post_meta($post->ID, '_aioseop_description', true));
94
  }
95
- if ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import Facebook / Twitter Title
 
 
 
96
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
97
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
98
  update_post_meta($post->ID, '_seopress_social_fb_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
 
 
 
 
 
 
 
 
99
  update_post_meta($post->ID, '_seopress_social_twitter_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
100
  }
101
  }
102
- if ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import Facebook / Twitter Desc
 
 
 
103
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
104
- if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_desc'])) {
105
- update_post_meta($post->ID, '_seopress_social_fb_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_desc']);
106
- update_post_meta($post->ID, '_seopress_social_twitter_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_desc']);
107
  }
108
  }
109
- if ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import Facebook Image
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
111
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_image'])) {
112
  update_post_meta($post->ID, '_seopress_social_fb_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg']);
113
  }
114
  }
115
- if ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import Twitter Image
 
 
 
 
 
 
 
 
 
116
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
117
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg_twitter'])) {
118
  update_post_meta($post->ID, '_seopress_social_twitter_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg_twitter']);
119
  }
120
  }
121
- if ('on' == get_post_meta($post->ID, '_aioseop_noindex', true)) { //Import Robots NoIndex
 
 
 
 
 
 
 
 
 
122
  update_post_meta($post->ID, '_seopress_robots_index', 'yes');
123
  }
124
- if ('on' == get_post_meta($post->ID, '_aioseop_nofollow', true)) { //Import Robots NoFollow
 
 
 
 
 
 
 
 
 
125
  update_post_meta($post->ID, '_seopress_robots_follow', 'yes');
126
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
128
  }
129
  $offset += $increment;
5
  ///////////////////////////////////////////////////////////////////////////////////////////////////
6
  //AIO migration
7
  ///////////////////////////////////////////////////////////////////////////////////////////////////
8
+ function seopress_aio_migration()
9
+ {
10
  check_ajax_referer('seopress_aio_migrate_nonce', $_POST['_ajax_nonce'], true);
11
 
12
  if (current_user_can(seopress_capability('manage_options', 'migration')) && is_admin()) {
21
  global $post;
22
 
23
  if ($offset > $total_count_posts) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  $offset = 'done';
25
  wp_reset_query();
26
  } else {
35
 
36
  if ($aio_query) {
37
  foreach ($aio_query as $post) {
38
+ if ('' != get_post_meta($post->ID, '_aioseo_title', true)) { //Import title tag
39
+ update_post_meta($post->ID, '_seopress_titles_title', get_post_meta($post->ID, '_aioseo_title', true));
40
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_title', true)) { //Import old title tag
41
  update_post_meta($post->ID, '_seopress_titles_title', get_post_meta($post->ID, '_aioseop_title', true));
42
  }
43
+ if ('' != get_post_meta($post->ID, '_aioseo_description', true)) { //Import meta desc
44
+ update_post_meta($post->ID, '_seopress_titles_desc', get_post_meta($post->ID, '_aioseo_description', true));
45
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_description', true)) { //Import old meta desc
46
  update_post_meta($post->ID, '_seopress_titles_desc', get_post_meta($post->ID, '_aioseop_description', true));
47
  }
48
+
49
+ if ('' != get_post_meta($post->ID, '_aioseo_og_title', true)) { //Import Facebook Title
50
+ update_post_meta($post->ID, '_seopress_social_fb_title', get_post_meta($post->ID, '_aioseo_og_title', true));
51
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Facebook
52
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
53
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
54
  update_post_meta($post->ID, '_seopress_social_fb_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
55
+ }
56
+ }
57
+
58
+ if ('' != get_post_meta($post->ID, '_aioseo_twitter_title', true)) { //Import Twitter Title
59
+ update_post_meta($post->ID, '_seopress_social_twitter_title', get_post_meta($post->ID, '_aioseo_twitter_title', true));
60
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Twitter Title
61
+ $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
62
+ if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
63
  update_post_meta($post->ID, '_seopress_social_twitter_title', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
64
  }
65
  }
66
+
67
+ if ('' != get_post_meta($post->ID, '_aioseo_og_description', true)) { //Import Facebook Desc
68
+ update_post_meta($post->ID, '_seopress_social_fb_desc', get_post_meta($post->ID, '_aioseo_og_description', true));
69
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Facebook Desc
70
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
71
+ if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
72
+ update_post_meta($post->ID, '_seopress_social_fb_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
 
73
  }
74
  }
75
+
76
+ if ('' != get_post_meta($post->ID, '_aioseo_twitter_description', true)) { //Import Twitter Desc
77
+ update_post_meta($post->ID, '_seopress_social_twitter_desc', get_post_meta($post->ID, '_aioseo_twitter_description', true));
78
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Twitter Desc
79
+ $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
80
+ if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_title'])) {
81
+ update_post_meta($post->ID, '_seopress_social_twitter_desc', $_aioseop_opengraph_settings['aioseop_opengraph_settings_title']);
82
+ }
83
+ }
84
+
85
+ $canonical_url = "SELECT p.canonical_url, p.post_id
86
+ FROM {$wpdb->prefix}aioseo_posts p
87
+ WHERE p.post_id = $post->ID";
88
+
89
+ $canonical_url = $wpdb->get_results($canonical_url, ARRAY_A);
90
+
91
+ if (! empty($canonical_url[0]['canonical_url'])) {//Import Canonical URL
92
+ update_post_meta($post->ID, '_seopress_robots_canonical', $canonical_url[0]['canonical_url']);
93
+ }
94
+
95
+ $og_img_url = "SELECT p.og_image_custom_url, p.post_id
96
+ FROM {$wpdb->prefix}aioseo_posts p
97
+ WHERE p.og_image_type = 'custom_image' AND p.post_id = $post->ID";
98
+
99
+ $og_img_url = $wpdb->get_results($og_img_url, ARRAY_A);
100
+
101
+ if (! empty($og_img_url[0]['og_image_custom_url'])) {//Import Facebook Image
102
+ update_post_meta($post->ID, '_seopress_social_fb_img', $og_img_url[0]['og_image_custom_url']);
103
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Facebook Image
104
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
105
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_image'])) {
106
  update_post_meta($post->ID, '_seopress_social_fb_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg']);
107
  }
108
  }
109
+
110
+ $tw_img_url = "SELECT p.twitter_image_custom_url, p.post_id
111
+ FROM {$wpdb->prefix}aioseo_posts p
112
+ WHERE p.twitter_image_type = 'custom_image' AND p.post_id = $post->ID";
113
+
114
+ $tw_img_url = $wpdb->get_results($tw_img_url, ARRAY_A);
115
+
116
+ if (! empty($tw_img_url[0]['twitter_image_custom_url'])) {//Import Twitter Image
117
+ update_post_meta($post->ID, '_seopress_social_twitter_img', $tw_img_url[0]['twitter_image_custom_url']);
118
+ } elseif ('' != get_post_meta($post->ID, '_aioseop_opengraph_settings', true)) { //Import old Twitter Image
119
  $_aioseop_opengraph_settings = get_post_meta($post->ID, '_aioseop_opengraph_settings', true);
120
  if (isset($_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg_twitter'])) {
121
  update_post_meta($post->ID, '_seopress_social_twitter_img', $_aioseop_opengraph_settings['aioseop_opengraph_settings_customimg_twitter']);
122
  }
123
  }
124
+
125
+ $robots_noindex = "SELECT p.robots_noindex, p.post_id
126
+ FROM {$wpdb->prefix}aioseo_posts p
127
+ WHERE p.post_id = $post->ID";
128
+
129
+ $robots_noindex = $wpdb->get_results($robots_noindex, ARRAY_A);
130
+
131
+ if (! empty($robots_noindex[0]['robots_noindex']) && '1' === $robots_noindex[0]['robots_noindex']) {//Import Robots NoIndex
132
+ update_post_meta($post->ID, '_seopress_robots_index', 'yes');
133
+ } elseif ('on' == get_post_meta($post->ID, '_aioseop_noindex', true)) { //Import old Robots NoIndex
134
  update_post_meta($post->ID, '_seopress_robots_index', 'yes');
135
  }
136
+
137
+ $robots_nofollow = "SELECT p.robots_nofollow, p.post_id
138
+ FROM {$wpdb->prefix}aioseo_posts p
139
+ WHERE p.post_id = $post->ID";
140
+
141
+ $robots_nofollow = $wpdb->get_results($robots_nofollow, ARRAY_A);
142
+
143
+ if (! empty($robots_nofollow[0]['robots_nofollow']) && '1' === $robots_nofollow[0]['robots_nofollow']) {//Import Robots NoFollow
144
+ update_post_meta($post->ID, '_seopress_robots_follow', 'yes');
145
+ } elseif ('on' == get_post_meta($post->ID, '_aioseop_nofollow', true)) { //Import old Robots NoFollow
146
  update_post_meta($post->ID, '_seopress_robots_follow', 'yes');
147
  }
148
+
149
+ $robots_noimageindex = "SELECT p.robots_noimageindex, p.post_id
150
+ FROM {$wpdb->prefix}aioseo_posts p
151
+ WHERE p.post_id = $post->ID";
152
+
153
+ $robots_noimageindex = $wpdb->get_results($robots_noimageindex, ARRAY_A);
154
+
155
+ if (! empty($robots_noimageindex[0]['robots_noimageindex']) && '1' === $robots_noimageindex[0]['robots_noimageindex']) {//Import Robots NoImageIndex
156
+ update_post_meta($post->ID, '_seopress_robots_imageindex', 'yes');
157
+ }
158
+
159
+ $robots_noodp = "SELECT p.robots_noodp, p.post_id
160
+ FROM {$wpdb->prefix}aioseo_posts p
161
+ WHERE p.post_id = $post->ID";
162
+
163
+ $robots_noodp = $wpdb->get_results($robots_noodp, ARRAY_A);
164
+
165
+ if (! empty($robots_noodp[0]['robots_noodp']) && '1' === $robots_noodp[0]['robots_noodp']) {//Import Robots NoOdp
166
+ update_post_meta($post->ID, '_seopress_robots_odp', 'yes');
167
+ }
168
+
169
+ $robots_nosnippet = "SELECT p.robots_nosnippet, p.post_id
170
+ FROM {$wpdb->prefix}aioseo_posts p
171
+ WHERE p.post_id = $post->ID";
172
+
173
+ $robots_nosnippet = $wpdb->get_results($robots_nosnippet, ARRAY_A);
174
+
175
+ if (! empty($robots_nosnippet[0]['robots_nosnippet']) && '1' === $robots_nosnippet[0]['robots_nosnippet']) {//Import Robots NoSnippet
176
+ update_post_meta($post->ID, '_seopress_robots_snippet', 'yes');
177
+ }
178
+
179
+ $robots_noarchive = "SELECT p.robots_noarchive, p.post_id
180
+ FROM {$wpdb->prefix}aioseo_posts p
181
+ WHERE p.post_id = $post->ID";
182
+
183
+ $robots_noarchive = $wpdb->get_results($robots_noarchive, ARRAY_A);
184
+
185
+ if (! empty($robots_noarchive[0]['robots_noarchive']) && '1' === $robots_noarchive[0]['robots_noarchive']) {//Import Robots NoArchive
186
+ update_post_meta($post->ID, '_seopress_robots_archive', 'yes');
187
+ }
188
+
189
+ $keyphrases = "SELECT p.keyphrases, p.post_id
190
+ FROM {$wpdb->prefix}aioseo_posts p
191
+ WHERE p.post_id = $post->ID";
192
+
193
+ $keyphrases = $wpdb->get_results($keyphrases, ARRAY_A);
194
+
195
+ if (! empty($keyphrases)) {
196
+ $keyphrases = json_decode($keyphrases[0]['keyphrases']);
197
+
198
+ if (isset($keyphrases->focus->keyphrase)) {
199
+ $keyphrases = $keyphrases->focus->keyphrase;
200
+
201
+ if ('' != $keyphrases) { //Import focus kw
202
+ update_post_meta($post->ID, '_seopress_analysis_target_kw', $keyphrases);
203
+ }
204
+ }
205
+ }
206
  }
207
  }
208
  $offset += $increment;
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.7
8
  Requires PHP: 5.6
9
- Stable tag: 4.7.0
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -324,7 +324,9 @@ You're theme is probably using a deprecated function to handle the title. <a hre
324
  8. Installation Wizard
325
  9. Schemas metabox
326
 
327
- == Changelog ==
 
 
328
  = 4.7 (19/05/2021) - <a href="https://www.seopress.org/blog/seopress-4-7/">Read our blog post update</a> =
329
  * NEW Apply automatic schemas based on post ID
330
  * NEW Speakable schema (visible under Article manual or automatic schema)
6
  Requires at least: 4.7+
7
  Tested up to: 5.7
8
  Requires PHP: 5.6
9
+ Stable tag: 4.7.0.1
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
324
  8. Installation Wizard
325
  9. Schemas metabox
326
 
327
+ == Changelog ==
328
+ = 4.7.0.1 (21/05/2021) =
329
+ * FIX Remove old file generating a bug in schema rendering
330
  = 4.7 (19/05/2021) - <a href="https://www.seopress.org/blog/seopress-4-7/">Read our blog post update</a> =
331
  * NEW Apply automatic schemas based on post ID
332
  * NEW Speakable schema (visible under Article manual or automatic schema)
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.7.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.7.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.7.0.1
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
10
  Text Domain: wp-seopress
55
  ///////////////////////////////////////////////////////////////////////////////////////////////////
56
  //Define
57
  ///////////////////////////////////////////////////////////////////////////////////////////////////
58
+ define('SEOPRESS_VERSION', '4.7.0.1');
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');