SEOPress - Version 5.8.0.1

Version Description

  • FIX Fatal error if PRO not up to date
  • FIX Can't redeclare seopress_register_meta on plugin deactivation
Download this release

Release Info

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

Code changes from version 5.8 to 5.8.0.1

inc/functions/options-instant-indexing.php CHANGED
@@ -134,13 +134,13 @@ function seopress_instant_indexing_fn($is_manual_submission = true, $permalink =
134
  //Prepare the URLS
135
  if ($is_manual_submission === true) {
136
  $urls = preg_split('/\r\n|\r|\n/', $urls);
137
- $x_source_info = 'https://www.seopress.org/5.8/true';
138
 
139
  $urls = array_slice($urls, 0, 100);
140
  } elseif ($is_manual_submission === false && !empty($permalink)) {
141
  $urls = null;
142
  $urls[] = $permalink;
143
- $x_source_info = 'https://www.seopress.org/5.8/false';
144
  }
145
 
146
  //Bing API
134
  //Prepare the URLS
135
  if ($is_manual_submission === true) {
136
  $urls = preg_split('/\r\n|\r|\n/', $urls);
137
+ $x_source_info = 'https://www.seopress.org/5.8.0.1/true';
138
 
139
  $urls = array_slice($urls, 0, 100);
140
  } elseif ($is_manual_submission === false && !empty($permalink)) {
141
  $urls = null;
142
  $urls[] = $permalink;
143
+ $x_source_info = 'https://www.seopress.org/5.8.0.1/false';
144
  }
145
 
146
  //Bing API
languages/wp-seopress.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: SEOPress 5.8\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-seopress\n"
7
  "Last-Translator: SEOPress Team <contact@seopress.org>\n"
8
  "Language-Team: SEOPress Team <contact@seopress.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-06-30T12:41:02+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: wp-seopress\n"
@@ -620,7 +620,7 @@ msgstr ""
620
  #: inc/admin/admin-pages/Sitemaps.php:43
621
  #: inc/admin/admin-pages/Social.php:43
622
  #: inc/admin/admin-pages/Titles.php:54
623
- #: seopress-functions.php:662
624
  msgid "Save changes"
625
  msgstr ""
626
 
@@ -1032,7 +1032,7 @@ msgid "Get started"
1032
  msgstr ""
1033
 
1034
  #: inc/admin/blocks/get-started.php:25
1035
- #: seopress-functions.php:453
1036
  msgid "Dismiss"
1037
  msgstr ""
1038
 
@@ -5615,16 +5615,16 @@ msgstr ""
5615
  msgid "Page %d of %2$d"
5616
  msgstr ""
5617
 
5618
- #: seopress-functions.php:236
5619
  msgid "Custom Post Types"
5620
  msgstr ""
5621
 
5622
- #: seopress-functions.php:240
5623
  msgid "Custom Taxonomies"
5624
  msgstr ""
5625
 
5626
  #. translators: %s: "Custom Post Types" or "Custom Taxonomies" %s: "title" or "description"
5627
- #: seopress-functions.php:280
5628
  msgid "Some <strong>%s</strong> have no <strong>meta %s</strong> set! We strongly encourage you to add one by filling in the fields below."
5629
  msgstr ""
5630
 
2
  # This file is distributed under the GPLv2.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: SEOPress 5.8.0.1\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-seopress\n"
7
  "Last-Translator: SEOPress Team <contact@seopress.org>\n"
8
  "Language-Team: SEOPress Team <contact@seopress.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-06-30T15:06:11+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: wp-seopress\n"
620
  #: inc/admin/admin-pages/Sitemaps.php:43
621
  #: inc/admin/admin-pages/Social.php:43
622
  #: inc/admin/admin-pages/Titles.php:54
623
+ #: seopress-functions.php:714
624
  msgid "Save changes"
625
  msgstr ""
626
 
1032
  msgstr ""
1033
 
1034
  #: inc/admin/blocks/get-started.php:25
1035
+ #: seopress-functions.php:505
1036
  msgid "Dismiss"
1037
  msgstr ""
1038
 
5615
  msgid "Page %d of %2$d"
5616
  msgstr ""
5617
 
5618
+ #: seopress-functions.php:288
5619
  msgid "Custom Post Types"
5620
  msgstr ""
5621
 
5622
+ #: seopress-functions.php:292
5623
  msgid "Custom Taxonomies"
5624
  msgstr ""
5625
 
5626
  #. translators: %s: "Custom Post Types" or "Custom Taxonomies" %s: "title" or "description"
5627
+ #: seopress-functions.php:332
5628
  msgid "Some <strong>%s</strong> have no <strong>meta %s</strong> set! We strongly encourage you to add one by filling in the fields below."
5629
  msgstr ""
5630
 
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, schema, xml sitemap, redirection, meta title, open graph, content ana
6
  Requires at least: 4.7+
7
  Tested up to: 6.0
8
  Requires PHP: 7.2
9
- Stable tag: 5.8
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -362,6 +362,9 @@ You're theme is probably using a deprecated function to handle the title. <a hre
362
  12. Schema metabox
363
 
364
  == Changelog ==
 
 
 
365
  = 5.8 <a href="https://www.seopress.org/newsroom/product-news/seopress-5-8/">Read the blog post update</a> =
366
 
367
  <strong>Make sure to update both Free and PRO version to 5.8</strong>
6
  Requires at least: 4.7+
7
  Tested up to: 6.0
8
  Requires PHP: 7.2
9
+ Stable tag: 5.8.0.1
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
362
  12. Schema metabox
363
 
364
  == Changelog ==
365
+ = 5.8.0.1 =
366
+ * FIX Fatal error if PRO not up to date
367
+ * FIX Can't redeclare seopress_register_meta on plugin deactivation
368
  = 5.8 <a href="https://www.seopress.org/newsroom/product-news/seopress-5-8/">Read the blog post update</a> =
369
 
370
  <strong>Make sure to update both Free and PRO version to 5.8</strong>
seopress-functions.php CHANGED
@@ -50,6 +50,58 @@ if ( ! function_exists('array_key_last')) {
50
  }
51
  }
52
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
 
54
  /**
55
  * Get all custom fields (limit: 250).
50
  }
51
  }
52
 
53
+ /**
54
+ * Get all registered post types.
55
+ *
56
+ * @author Benjamin Denis
57
+ *
58
+ * @deprecated 4.4.0
59
+ *
60
+ * @return (array) $wp_post_types
61
+ */
62
+ function seopress_get_post_types() {
63
+ return seopress_get_service('WordPressData')->getPostTypes();
64
+ }
65
+
66
+ /**
67
+ * Get all registered custom taxonomies.
68
+ *
69
+ * @author Benjamin Denis
70
+ *
71
+ * @deprecated 5.8.0
72
+ *
73
+ * @param bool $with_terms
74
+ *
75
+ * @return array $taxonomies
76
+ **/
77
+ function seopress_get_taxonomies($with_terms = false) {
78
+ $args = [
79
+ 'show_ui' => true,
80
+ 'public' => true,
81
+ ];
82
+ $args = apply_filters('seopress_get_taxonomies_args', $args);
83
+
84
+ $output = 'objects'; // or objects
85
+ $operator = 'and'; // 'and' or 'or'
86
+ $taxonomies = get_taxonomies($args, $output, $operator);
87
+
88
+ unset(
89
+ $taxonomies['seopress_bl_competitors']
90
+ );
91
+
92
+ $taxonomies = apply_filters('seopress_get_taxonomies_list', $taxonomies);
93
+
94
+ if ( ! $with_terms) {
95
+ return $taxonomies;
96
+ }
97
+
98
+ foreach ($taxonomies as $_tax_slug => &$_tax) {
99
+ $_tax->terms = get_terms(['taxonomy' => $_tax_slug]);
100
+ }
101
+
102
+ return $taxonomies;
103
+ }
104
+
105
 
106
  /**
107
  * Get all custom fields (limit: 250).
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: 5.8
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
10
  Text Domain: wp-seopress
@@ -70,7 +70,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
70
  ///////////////////////////////////////////////////////////////////////////////////////////////////
71
  //Define
72
  ///////////////////////////////////////////////////////////////////////////////////////////////////
73
- define('SEOPRESS_VERSION', '5.8');
74
  define('SEOPRESS_AUTHOR', 'Benjamin Denis');
75
  define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
76
  define('SEOPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
4
  Plugin URI: https://www.seopress.org/
5
  Description: One of the best SEO plugins for WordPress.
6
  Author: SEOPress
7
+ Version: 5.8.0.1
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
10
  Text Domain: wp-seopress
70
  ///////////////////////////////////////////////////////////////////////////////////////////////////
71
  //Define
72
  ///////////////////////////////////////////////////////////////////////////////////////////////////
73
+ define('SEOPRESS_VERSION', '5.8.0.1');
74
  define('SEOPRESS_AUTHOR', 'Benjamin Denis');
75
  define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
76
  define('SEOPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
vendor/composer/installed.php CHANGED
@@ -5,7 +5,7 @@
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
- 'reference' => 'fdefd20c3a44ad760b8bdc45fa6435b67f1f215f',
9
  'name' => 'wp-seopress/wp-seopress',
10
  'dev' => false,
11
  ),
@@ -202,7 +202,7 @@
202
  'type' => 'wordpress-plugin',
203
  'install_path' => __DIR__ . '/../../',
204
  'aliases' => array(),
205
- 'reference' => 'fdefd20c3a44ad760b8bdc45fa6435b67f1f215f',
206
  'dev_requirement' => false,
207
  ),
208
  ),
5
  'type' => 'wordpress-plugin',
6
  'install_path' => __DIR__ . '/../../',
7
  'aliases' => array(),
8
+ 'reference' => 'ca086693c1b05aa7faaf476734296abb4a3fcbd1',
9
  'name' => 'wp-seopress/wp-seopress',
10
  'dev' => false,
11
  ),
202
  'type' => 'wordpress-plugin',
203
  'install_path' => __DIR__ . '/../../',
204
  'aliases' => array(),
205
+ 'reference' => 'ca086693c1b05aa7faaf476734296abb4a3fcbd1',
206
  'dev_requirement' => false,
207
  ),
208
  ),