-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add empty file to avoid fatals (#7936)
Co-authored-by: Timur Karimov <[email protected]> Co-authored-by: Brett Shumaker <[email protected]>
- Loading branch information
1 parent
6f59377
commit f1cabba
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Significance: patch | ||
Type: dev | ||
Comment: This is the file revert to avoid failures on plugin update. This is a temporary solution. Both removal & revert happen on develop meaning there is no change to the outside world. | ||
|
||
|
16 changes: 16 additions & 0 deletions
16
includes/admin/class-wc-rest-upe-flag-toggle-controller.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
/** | ||
* Class WC_REST_UPE_Flag_Toggle_Controller | ||
* | ||
* @package WooCommerce\Payments\Admin | ||
*/ | ||
|
||
/** | ||
* REST controller for UPE feature flag. Needs to stay in the codebase to avoid error on plugin update for versions 6.9.2 or earlier. | ||
*/ | ||
class WC_REST_UPE_Flag_Toggle_Controller extends WP_REST_Controller { | ||
/** | ||
* Register routes. | ||
*/ | ||
public function register_routes() {} | ||
} |