Skip to content

4.0.0

Choose a tag to compare

@andergmartins andergmartins released this 21 Oct 18:08
05d0548

Changelog

Added

  • Add the Workflows feature, with the workflow editor and the workflow engine.

Changes

  • The list of scheduled actions now displays the repetition count/date limits (Issue #928).
  • Update language files.
  • Updated the UI in the advanced settings page.
  • Move some advanced settings to the "Display" tab (Issue #952)
  • Add title to the future action panel for UI consistency (Issue #965)
  • Renamed the PublishPress Future metabox to Future Actions for UI consistency (Issue #965)

Fixed

  • Update post model to update post date when setting post status to publish.
  • Prevent error when the current_post->ID is empty for unknown reasons, usually related to 3rd party plugins.

Developers

  • Interface PublishPress\Future\Core\HookableInterface: Add new method removeFilter to remove a hooked filter.
  • Interface PublishPress\Future\Core\HookableInterface: Add new method removeAction to remove a hooked action.
  • Class PublishPress\Future\Framework\WordPress\Facade\HooksFacade: Add new method removeFilter to remove a hooked filter.
  • Class PublishPress\Future\Framework\WordPress\Facade\HooksFacade: Add new method removeAction to remove a hooked action.
  • New method to publish posts using the class PublishPress\Future\Framework\WordPress\Models\PostModel.
  • Add new filter 'publishpressfuture_migrations' to filter the list of migrations that will be executed.
  • Call the action 'publishpressfuture_fix_db_schema' when a DB fix is executed from the settings page.
  • Call the action 'publishpressfuture_upgrade_plugin' when the plugin is upgraded.
  • Change the data type from void to int for the method 'PublishPress\Future\Modules\Expirator\Interfaces\CronInterfac::scheduleRecurringAction'.
  • Change the data type from void to int for the method 'PublishPress\Future\Modules\Expirator\Interfaces\CronInterfac::scheduleAsyncAction'.
  • Add new filter 'publishpressfuture_schema_is_healthy' to check if the DB schema is healthy.
  • The method 'PublishPress\Future\Modules\Workflows\Models\WorkflowModel::getStepFromRoutineTreeRecursively' now always returns an array.
  • Add new filter 'action_scheduler_list_table_column_recurrence' to filter the recurrence column in the scheduled actions list.
  • Add new method 'getNodeById' to the class 'PublishPress\Future\Modules\Workflows\Models\WorkflowModel'.