Skip to content

Commit

Permalink
Releasing 4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
andergmartins committed Oct 21, 2024
1 parent 05d0548 commit 92b4b6a
Show file tree
Hide file tree
Showing 5 changed files with 2,800 additions and 4,100 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [4.0.1] - 21 Oct, 2024

### Fixed

- Fix the database schema check for version 4.0.0 on fresh installations, (Issue #928).

## [4.0.0] - 21 Oct, 2024

### Added
Expand Down
4 changes: 2 additions & 2 deletions post-expirator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: http://wordpress.org/extend/plugins/post-expirator/
* Description: PublishPress Future allows you to schedule automatic changes to posts, pages and other content types.
* Author: PublishPress
* Version: 4.0.0
* Version: 4.0.1
* Author URI: http://publishpress.com
* Text Domain: post-expirator
* Domain Path: /languages
Expand Down Expand Up @@ -50,7 +50,7 @@
}

if (! defined('PUBLISHPRESS_FUTURE_VERSION')) {
define('PUBLISHPRESS_FUTURE_VERSION', '4.0.0');
define('PUBLISHPRESS_FUTURE_VERSION', '4.0.1');
}

if (! defined('PUBLISHPRESS_FUTURE_PLUGIN_FILE')) {
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Requires at least: 6.1
Requires PHP: 7.2.5
Tested up to: 6.6
License: GPLv2 or later
Stable tag: 4.0.0
Stable tag: 4.0.1

PublishPress Future can make scheduled changes to your content. You can unpublish posts, move posts to a new status, update the categories, and more.

Expand Down Expand Up @@ -173,6 +173,12 @@ Yes, the PublishPress Future plugin allows you to schedule automatic changes to

The full changelog can be found on [GitHub](https://github.com/publishpress/PublishPress-Future/blob/main/CHANGELOG.md).

## [4.0.1] - 21 Oct, 2024

### Fixed

- Fix the database schema check for version 4.0.0 on fresh installations, (Issue #928).

## [4.0.0] - 21 Oct, 2024

### Added
Expand Down
2 changes: 2 additions & 0 deletions src/Core/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ public function manageUpgrade()
$version = get_option('postexpiratorVersion');

if ($version === false) {
// Fresh install. Run migrations that create the DB tables.
$container->get(ServicesAbstract::HOOKS)->doAction(V30000ActionArgsSchema::HOOK);
$container->get(ServicesAbstract::HOOKS)->doAction(V40000WorkflowScheduledStepsSchema::HOOK);
} else {
if (version_compare($version, '1.6.1') === -1) {
update_option('expirationdateDefaultDate', POSTEXPIRATOR_EXPIREDEFAULT);
Expand Down
Loading

0 comments on commit 92b4b6a

Please sign in to comment.