SEOPress - Version 4.0.1

Version Description

  • FIX Fatal Error Cannot redeclare seopress_title_columns() with TablePress
  • FIX Fatal Error wp-seopress-pro/inc/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php
  • FIX Remove redirect notice
Download this release

Release Info

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

Code changes from version 4.0 to 4.0.1

inc/functions/options-advanced-admin.php CHANGED
@@ -373,7 +373,12 @@ if (seopress_advanced_appearance_title_col_option() !=''
373
  return $current_cpt;
374
  }
375
 
376
- add_action('current_screen', 'seopress_add_columns');
 
 
 
 
 
377
  function seopress_add_columns() {
378
  if (isset(get_current_screen()->post_type)) {
379
  $key = get_current_screen()->post_type;
373
  return $current_cpt;
374
  }
375
 
376
+ add_action('current_screen', 'seopress_did_add_columns');
377
+ function seopress_did_add_columns() {
378
+ if (did_action( 'current_screen' ) === 1) {
379
+ seopress_add_columns();
380
+ }
381
+ }
382
  function seopress_add_columns() {
383
  if (isset(get_current_screen()->post_type)) {
384
  $key = get_current_screen()->post_type;
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.5
8
  Requires PHP: 5.6
9
- Stable tag: 4.0
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -297,6 +297,10 @@ You're theme is probably using a deprecated function to handle the title. <a hre
297
  7. Installation Wizard
298
 
299
  == Changelog ==
 
 
 
 
300
  = 4.0 <a href="https://www.seopress.org/blog/elementor-integration-semi-automatic-redirections-seopress-4-0/">Read our Blog post update</a> =
301
  * NEW Elementor integration (part 2): now with Google Preview and Content Analysis
302
  * NEW Semi-automatic redirections when you delete/change a slug (PRO) 🎉
6
  Requires at least: 4.7+
7
  Tested up to: 5.5
8
  Requires PHP: 5.6
9
+ Stable tag: 4.0.1
10
  License: GPLv2 or later
11
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
12
 
297
  7. Installation Wizard
298
 
299
  == Changelog ==
300
+ = 4.0.1 =
301
+ * FIX Fatal Error Cannot redeclare seopress_title_columns() with TablePress
302
+ * FIX Fatal Error wp-seopress-pro/inc/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php
303
+ * FIX Remove redirect notice
304
  = 4.0 <a href="https://www.seopress.org/blog/elementor-integration-semi-automatic-redirections-seopress-4-0/">Read our Blog post update</a> =
305
  * NEW Elementor integration (part 2): now with Google Preview and Content Analysis
306
  * NEW Semi-automatic redirections when you delete/change a slug (PRO) 🎉
seopress.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: One of the best SEO plugins for WordPress.
6
- Version: 4.0
7
  Author: SEOPress
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
55
  ///////////////////////////////////////////////////////////////////////////////////////////////////
56
  //Define
57
  ///////////////////////////////////////////////////////////////////////////////////////////////////
58
- define( 'SEOPRESS_VERSION', '4.0' );
59
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
 
61
  ///////////////////////////////////////////////////////////////////////////////////////////////////
3
  Plugin Name: SEOPress
4
  Plugin URI: https://www.seopress.org/
5
  Description: One of the best SEO plugins for WordPress.
6
+ Version: 4.0.1
7
  Author: SEOPress
8
  Author URI: https://www.seopress.org/
9
  License: GPLv2
55
  ///////////////////////////////////////////////////////////////////////////////////////////////////
56
  //Define
57
  ///////////////////////////////////////////////////////////////////////////////////////////////////
58
+ define( 'SEOPRESS_VERSION', '4.0.1' );
59
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
 
61
  ///////////////////////////////////////////////////////////////////////////////////////////////////