Decryption Key:
5.4.1 Release March 08, 2024
- Enh: Remove files that were false-positive detected as malicious. #3184
- Fix: Remove two css files accidentially loaded on the frontpage. #3208
- Fix: Remove standalone installer – Not ready yet. #3218
- Fix: Make sure to not encode single and double quotes while downloading log files. #3168
Decryption Key:
5.4.0 Release March 06, 2024
- New: Add option to create a new admin user account for your staging site during it’s creation. #3087
- New: Add option to use non-blocking process for uploading to FTP storage when using FTP extension to upload. #3103
- New: Add advanced excludes option at WP CLI backup-create command. #3114
- New: Add ‘Delete Settings’ button within the storage provider interface to facilitate the removal of the cloud provider configuration. #3108
- New: Add support for Search Replace of urls in content of network subsites. #2960
- New: Add option on edit staging site page for testing database connection. #3106
- New: If uploads folder is symlinked exclude it from disk space calculation before creating a staging site. #3092
- Enh: Update look and feel of backup scheduling modal. #3090
- Enh: Add page loader for each page of the user interface. #3142
- Enh: Add new upgrade buttons to header and license page. #3135
- Enh: Add more information like database name to system information. #3125
- Enh: Avoid scanning of excluded directories during the push process. #3049
- Fix: Fatal error on old WordPress 4.4.32 due to using of get_current_network_id(). #3174
- Fix: Base prefix wrongly replaced for users and usermeta tables in views when creating backup of views in multisite subsite. #3128
- Fix: Prevent error while directory listing protection due to open_basedir restriction. #3180
- Fix: Update free version plugin meta description to “Required by WP Staging Pro”. #3171
- Fix: Remove redundant admin notices for invalid license keys during activation. #3139
- Security: Fix a potential security error and add better sanitizing for backup title. #3152
- Fix: Make sure EDD license checks are triggered only once. #3179
- Fix: Google drive authentication not working properly under all circumstances. #3156
- Fix: Selected custom tables on a staging site that had a different prefix than the prefix in the wp-config.php could not be pushed anymore. #3170
- Fix: Prefix for user capabilities was not replaced when creating a backup of network subsite. #3129
- Fix: The “Prefix” field was empty for listed staging sites if they were created in an external database and the prefix was not specified. #3166
- Fix: The optimizer setting was shown as disabled, even if it was still active. #3151
- Fix: Add loading icon beside ‘Refresh License Status’ button and adjusted loading bars on licensing page. #3185
- Fix: Super (network) admins were not able to login with when network subsite backup was restored on a single site. #3191
- Fix: Reference Error wpstgPro is not defined during staging site creation on FREE version. #3136
- Fix: Make sure that backup plugin notice doesn’t overlap Create Staging Site button in UI. #3148
- Fix: List of active plugins in system info is misleading. #2996
- Fix: Make sure that mail setting page looks good on all screen resolutions. #3094
- Fix: Incorrect process modal title for preserving data task. #3130
- Fix: DRY properties in BackupMetadata and remove error message “trying to hydrate dto errors BackupMetadata::setCurrentNetworkId()” #3199
- Dev: Update DI52 library to latest version for small performance gain. #3146
- Dev: Fix missing adminer host on wpstg command. #3120
- Dev: Load Basic or Pro service provider once other dependencies are loaded. #3160
- Dev: Populate dev hosts from env variables to add to hosts file. #3122
- Dev: Add adminer to dev tools for database management. #3112
- Dev: Fast test fails on GitHub due to the missing of ‘wpstgBackupHeader.txt’ file, checksum needed to be updated each time. #3110
- Dev: Update Github actions to latest version that uses Node 20 to avoid deprecation message Github CI. #3200
5.3.3 Release February 05, 2024
- New: Support for WordPress 6.4.3
- New: Add filter wpstg.push_excluded_directories to exclude specific folders during push. #3050
- New: Add ‘Do review link’ to backup success modal after staging site and backup creation. #3085
- Enh: Reduce number of API calls to wp-staging.com for version number checking. #3091
- Enh: Add option to use APPEND Mode for uploading backup using FTP from settings UI. #3044
- Enh: Add loading icon during activation of the free version. #3041
- Enh: Improve the message when backup has been created with older version of WP Staging. #3033
- Enh: Make sure the checkbox icon appears at centre on all system. #2920
- Enh: Make sure that font size and view layout is consistent in staging and reset modal. #3104
Changelog
* Fix: Catch type errors on properties hydration for Backup Metadata and other backup related tasks. #3072
== Changelog ==
= 5.0.6 =
* Fix: There could be a fatal error after plugin activation on multisites if a plugin uses the filter `site_option_active_sitewide_plugins`. #2785
* Fix: Theme Twenty Twenty Three has a bug that leads to corrupt staging sites. The transient `_transient_wp_core_block_css_files` breaks the css after migrating or creating a new staging site. This transient will be deleted on a freshly created staging site. Related: https://wordpress.org/support/topic/wordpress-block-styles-not-loading-in-frontend/ #2778
* Dev: Add make command to check class method return type hints #2769
== Changelog ==
= 5.0.2 =
* New: Add more options to wp cli backup-create command #2668
* Enh: Increase log file storing time to 14 days. #2625
* Enh: Add admin notice to explain the new backup feature in free version #2524
* Enh: Enhance free version backup modal UI #2608
* Enh: Don't allow saving empty table prefix for a staging site when using the edit button #2572
* Fix: Use DTO instead of separate file for managing index sizes while creating backup to avoid filesystem lock. #2640
* Fix: Backup creation fails on PHP 8 because unable to get primary key for table. #2629
* Fix: Stop backup restore if no sql query is found to be executed but the backup contains a database to be restored #2560
* Fix: Show admin notice if there is no WordPress table prefix in the database #2586
* Dev: Add changelog entries in dedicated files #2623
* Dev: No changelog needed on release branches #2763
== Changelog ==
= 5.0.2 =
* New: Add more options to wp cli backup-create command #2668
* Enh: Increase log file storing time to 14 days. #2625
* Enh: Add admin notice to explain the new backup feature in free version #2524
* Enh: Enhance free version backup modal UI #2608
* Enh: Don't allow saving empty table prefix for a staging site when using the edit button #2572
* Fix: Use DTO instead of separate file for managing index sizes while creating backup to avoid filesystem lock. #2640
* Fix: Backup creation fails on PHP 8 because unable to get primary key for table. #2629
* Fix: Stop backup restore if no sql query is found to be executed but the backup contains a database to be restored #2560
* Fix: Show admin notice if there is no WordPress table prefix in the database #2586
* Dev: Add changelog entries in dedicated files #2623
* Dev: No changelog needed on release branches #2763
4.6.1 Release February 9, 2023
- Enh: Database recovery enhancement to increase the execution time for executing an ajax triggered SQL query when query execution fails for a certain number of retries on weak servers #2117
- Fix: Prevent fatal error on setting page due to using double semicolon(‘::’) to call static method from variable. Affects old php versions only. #2166
4.6.0 Release January 31, 2023
- New: Button to edit backup schedules #2042
- Enh: Add filter `wpstg_login_form_logo` to change logo image on login page for staging site #2076
- Enh: Clarify that maximum backup retention limit on the create backup modal is only for local hosted backup files #2085
- Enh: If issue is reported via email using the REPORT ISSUE button, send the license key #2087
- Enh: Show Google Drive backup account information on the plugin’s Google Drive backup settings page #2091
- Enh: Change some words to be more consistent #2099
- Enh: Add link to docs article into error message if license key can not be activated #2100
- Enh: Cleanup and remove backend/views/notices/poll.php and all related code #2107
- Enh: Remove backend/views/notices/poll.php and all related code #2107
- Enh: Hide license key for privacy reasons when plugin is used by agencies on client websites #2118
- Enh: Add a cancel button to stop the pushing process #2101
- Fix: Ensure that functions in wp-staging-optimizer.php are declared only one time #2079
- Fix: Remove some php’s deprecation warnings for php 8.x #2078
- Fix: Added upload_path in system info #2024
- Fix: Improve detection if WordPress is installed in subdirectory. If home URL and site URL are different the cloned staging site URLs are sometimes incorrect. #2068
- Fix: Remove error in search & replace of serialized data due to strict types during staging PUSH on PHP 8.1 and higher version. #2065
- Fix: Remove warning “Undefined index: networkClone in single-overview.php line: 54” #2097
- Dev: Downgrade phpcs composer modules to fix xss tests #2105
- Dev: Write the version of the plugin into the header of wpstg.js when creating the dist package with make dev_dist #2095
4.5.0 Release January 05, 2023
- New: Optional feature to split backup files by type (plugins, media, themes) and maximum file size. Use filter `wpstg.backup.isMultipartBackup` to activate this option. Use `wpstg.backup.maxMultipartBackupSize` filter to adjust maximum file size for split backup, default is 2GB #1804
- New: Add filter `wpstg.remoteStorages.chunkSize` (in bytes) to change chunk size of backups upload to remote storages #2047
- New: Add filter `wpstg.remoteStorages.delayBetweenRequests` (in milliseconds) to add delay between requests to upload chunks to remote storages #1997
- New: Add filter `wpstg.backup.tables.non-prefixed` to allow backup and restore of non WordPress prefixed tables #2018
- New: Add option to download backup log files via ACTIONS > Log File #2025
- New: Send mail report if unable to upload backup to remote storage(s) during automated backup #2025
- Enh: Dont show recommendation message on using the same MySQL/MariaDB version while restoring if already the same MySQL/MariaDB version #1997
- Enh: Preserve remote storages options during clone update. #2004
- Fix: Store taskQueue in jobDataDto instead of a separate file #1997
- Fix: Added upload_path in system info #2024
- Fix: BINARY and NULL were not correctly search replaced if restoring the backup on the same site #2043
- Fix: Correct database server type and MySQL/MariaDB version in System Info Tab #2043
- Fix: Exclude filters in the UI for the staging site now allow adding dot `.` for extension, file and folder exclusion rules #2053
- Fix: Issue during cleaning of other files in wp-content directory when actual uploads directory is not direct child of wp-content directory #2041
- Fix: UPLOAD path was not correctly search replaced if source and destination site had a different relative upload path #2041
- Fix: Importing a multisite backup with domains as network sites created wrong URLs for network sites if backup is restored into a multisite where network sites are subdirectories #2038
- Fix: Allow database creation during push if multisite and mainsite #2032
- Fix: Preserve scheduled backup plans during push #2032
- Fix: Stop uploading backup to remote storage(s) after failure on certain amount of retries #2025
- Fix: Dont copy google drive option during new or reset clone. This will make sure both sites will have different Refresh token. So revoking refresh token on one site doesn’t break uploading process for the other #2004
- Fix: Fix php warning when null is passed as argument to trim function #2059
- Fix: Improve admin notice when JETPACK_STAGING_MODE is active on staging site #2014
- Dev: Bump minimatch from 3.0.4 to 3.0.8 in /src/assets #2007
- Dev: Make extra_hosts section in docker DRY #2070
- Dev: Split webdriver tests to speed up running and allow parallel execution of them #2057
- Dev: Improve login page authentication message #2058 #2072