MEDIUM RISK
3.3.1 → 3.4.0
Medium risk: 16 removed methods, 12 removed classes, 6 method signature changes.
- The action
simplybook_controllers_loadedis no longer fired. Any code hooked to it stops running silently. - The action
simplybook_endpoints_loadedis no longer fired. Any code hooked to it stops running silently. - The action
simplybook_features_loadedis no longer fired. Any code hooked to it stops running silently. - The action
simplybook_providers_loadedis no longer fired. Any code hooked to it stops running silently. - The filter
simplybook_rest_routesis no longer fired. Any code hooked to it stops running silently. - The function
simplybookMePl_getAllowedHtmlEntities()was removed. Direct calls from a theme or another plugin will fatal. - The function
simplybook_is_wp_json_request()was removed. Direct calls from a theme or another plugin will fatal. SimplyBook\Controllers\DashboardController::__construct()now requires more arguments than before.SimplyBook\Controllers\DashboardController::maybeResetRegistration()was removed.SimplyBook\Controllers\OnboardingNoticeController::__construct()now requires more arguments than before.- The class
SimplyBook\Features\AbstractLoaderwas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\Notifications\NotificationsEndpointswas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\Notifications\NotificationsLoaderwas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\Onboarding\OnboardingControllerwas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\Onboarding\OnboardingLoaderwas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\TaskManagement\TaskManagementEndpointswas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Features\TaskManagement\TaskManagementLoaderwas removed. Code that instantiates or extends it will fatal. SimplyBook\Features\TaskManagement\TaskManagementService::getAllTasks()was removed.SimplyBook\Features\TaskManagement\Tasks\AbstractTask::open()was removed.SimplyBook\Features\TaskManagement\Tasks\AbstractTask::urgent()was removed.SimplyBook\Features\TaskManagement\Tasks\AbstractTask::upgrade()was removed.SimplyBook\Features\TaskManagement\Tasks\AbstractTask::dismiss()was removed.SimplyBook\Features\TaskManagement\Tasks\AbstractTask::completed()was removed.SimplyBook\Features\TaskManagement\Tasks\MaxedOutProvidersTask::__construct()now requires more arguments than before.SimplyBook\Features\TaskManagement\Tasks\MaximumBookingsTask::__construct()now requires more arguments than before.SimplyBook\Features\TaskManagement\Tasks\TrialExpiredTask::__construct()now requires more arguments than before.SimplyBook\Http\ApiClient::reset_registration()was removed.SimplyBook\Http\Endpoints\AbstractCrudEndpoint::processAttributesException()was removed.- The class
SimplyBook\Http\Endpoints\BlockEndpointswas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Http\Endpoints\RelatedPluginEndpointswas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Http\Endpoints\SettingEndpointswas removed. Code that instantiates or extends it will fatal. - The class
SimplyBook\Http\Endpoints\SubscriptionEndpointswas removed. Code that instantiates or extends it will fatal. SimplyBook\Interfaces\FeatureInterface::register()was removed.SimplyBook\Managers\AbstractManager::__construct()was removed.SimplyBook\Managers\AbstractManager::afterRegister()is no longer public.SimplyBook\Managers\ControllerManager::afterRegister()was removed.SimplyBook\Managers\EndpointManager::afterRegister()is no longer public.SimplyBook\Managers\FeatureManager::afterRegister()was removed.SimplyBook\Managers\FeatureManager::registerFeatures()was removed.SimplyBook\Managers\FeatureManager::getFeatureClasses()was removed.- The class constant
SimplyBook\Managers\FeatureManager::PRO_FEATURE_HANDLEwas removed. SimplyBook\Managers\ProviderManager::afterRegister()was removed.- The class
SimplyBook\Providers\Providerwas removed. Code that instantiates or extends it will fatal. SimplyBook\Support\Helpers\Storages\RequestStorage::__construct()now requires more arguments than before.- The script/style handle
simplybook-admin-ssois gone. Code that dequeues, or declares a dependency on, that handle is now wrong. - The template
views/admin/trial-notice.phpchanged. Any theme override of it is now out of date and will miss the change.