← All changes
|
jetpack_vendor/automattic/jetpack-backup/src/class-jetpack-backup-upgrades.php
+8
-2
12.2.3
→
16.3
View file →
| @@ -4,10 +4,17 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * @package automattic/jetpack-backup-plugin |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -namespace Automattic\Jetpack\Backup; | |
| 8 | +// After changing this file, consider increasing the version number ("VXXX") in all the files using this namespace, in | |
| 9 | +// order to ensure that the specific version of this file always get loaded. Otherwise, Jetpack autoloader might decide | |
| 10 | +// to load an older/newer version of the class (if, for example, both the standalone and bundled versions of the plugin | |
| 11 | +// are installed, or in some other cases). | |
| 12 | +namespace Automattic\Jetpack\Backup\V0005; | |
| 9 | 13 | |
| 14 | +use function get_option; | |
| 15 | +use function update_option; | |
| 16 | + | |
| 10 | 17 | /** |
| 11 | 18 | * The Upgrades class. |
| 12 | 19 | */ |
| 13 | 20 | class Jetpack_Backup_Upgrades { |
| @@ -37,6 +44,5 @@ | ||
| 37 | 44 | * |
| 38 | 45 | * @deprecated since 1.7.0 No longer required after removing soft disconnect functionality. |
| 39 | 46 | */ |
| 40 | 47 | public static function clear_disabled_plugin() {} |
| 41 | - | |
| 42 | 48 | } |