From 526ebb9f96efbc4dd1b6ccae23d66985f5d208e9 Mon Sep 17 00:00:00 2001 From: Timur Karimov Date: Wed, 20 Dec 2023 20:08:59 +0100 Subject: [PATCH] Update includes/admin/class-wc-rest-upe-flag-toggle-controller.php Co-authored-by: Brett Shumaker --- includes/admin/class-wc-rest-upe-flag-toggle-controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/admin/class-wc-rest-upe-flag-toggle-controller.php b/includes/admin/class-wc-rest-upe-flag-toggle-controller.php index 82d62f910b4..43e2addfc5e 100644 --- a/includes/admin/class-wc-rest-upe-flag-toggle-controller.php +++ b/includes/admin/class-wc-rest-upe-flag-toggle-controller.php @@ -9,4 +9,5 @@ * 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 { + public function register_routes() {} }