ThemeFuse / Unyson-Backups-Extension

Backup & Demo Content - This extension lets you create an automated backup schedule, import demo content or even create a demo content archive for migration purposes.
http://manual.unyson.io/en/latest/extension/backups/
10 stars 17 forks source link

Fix php8 required parameter $zip_path follows optional parameter #68

Closed onebelarusianguy closed 1 year ago

onebelarusianguy commented 2 years ago

Fix Deprecated: Required parameter $zip_path follows optional parameter $full in /wp-content/plugins/unyson/framework/extensions/backups/includes/module/tasks/class--fw-ext-backups-module-tasks.php on line 985 warning on php 8 version.

Since the $full argument is passed in every call, we don't need a default value, so we can remove it and thus we can fix the deprecated warning.