_upgrade_440_force_deactivate_incompatible_plugins

The timeline below displays how wordpress function _upgrade_440_force_deactivate_incompatible_plugins has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 4.4

/**
 * @ignore
 * @since 4.4.0
 */
function _upgrade_440_force_deactivate_incompatible_plugins()
{
    if (defined('REST_API_VERSION') && version_compare(REST_API_VERSION, '2.0-beta4', '<=')) {
        deactivate_plugins(array('rest-api/plugin.php'), true);
    }
}