Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
/ faster-updates Public archive

Speeds up plugin/theme updates by moving files rather than copying them.

License

Notifications You must be signed in to change notification settings

afragen/faster-updates

Repository files navigation

# Faster Updates

Plugin Name: Faster Updates
Contributors: afragen, costdev, pbiron
License: MIT
Requires PHP: 5.6
Requires at least: 6.0
Tested up to: 6.2
Stable Tag: x.x.x

Speeds up plugin/theme updates by moving files rather than copying them.

## Description

For testing only. Only works when updating from update-core.php page. [Testing instructions](https://github.com/afragen/faster-updates/blob/main/testing_instructions.md)

Speeds up plugin/theme updates by moving files rather than copying them. Reduces the chance of running out of diskspace during updates. Lower memory usage reduces the chance of timeouts during updates.

Substitution of move_dir for copy_dir adding more efficiency to the plugin/theme update process. This could improve the efficiency and performance for 99+% of users who opt-in and will likely fix #53832, #54166, and #34676.

### VirtualBox

VirtualBox is being tested. If you encounter any problems while using VirtualBox please let us know.

## Changelog

#### [unreleased]
* initial pass
* add generic hooks for overriding update processing for `update-core.php`
* add `wp_opcache_invalidate_directory()`
* add fixes for VirtualBox issues
* removed unused hooks from `move_dir()`

About

Speeds up plugin/theme updates by moving files rather than copying them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages