Skip to content

Commit

Permalink
add empty file to avoid fatals
Browse files Browse the repository at this point in the history
  • Loading branch information
Timur Karimov committed Dec 20, 2023
1 parent 6f59377 commit 506c7bd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changelog/revert-file-needed-for-plugin-update
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 includes/admin/class-wc-rest-upe-flag-toggle-controller.php
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
*/

defined( 'ABSPATH' ) || exit;

use WCPay\Constants\Track_Events;

/**
* 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 {
}

0 comments on commit 506c7bd

Please sign in to comment.