From a31c80ec3422735b920c626161ede69ef899dcd8 Mon Sep 17 00:00:00 2001 From: ashfame Date: Tue, 10 Sep 2024 16:15:24 +0400 Subject: [PATCH] create a mu-plugin in playground steps that effectively disables the rest api auth --- src/ui/preview/Playground.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ui/preview/Playground.tsx b/src/ui/preview/Playground.tsx index 7f58903e..80fa4a67 100644 --- a/src/ui/preview/Playground.tsx +++ b/src/ui/preview/Playground.tsx @@ -100,6 +100,11 @@ function steps(): StepDefinition[] { pluginName: 'Try WordPress', pluginPath: '/wordpress/wp-content/plugins/try-wordpress', }, + { + step: 'writeFile', + path: 'wordpress/wp-content/mu-plugins/addFilter-1.php', + data: '