From cb93b2780b64d7320cee491cb1adc0284f71f7e2 Mon Sep 17 00:00:00 2001 From: Marianne Date: Fri, 16 Jan 2026 11:29:16 +0100 Subject: [PATCH] Add force parameter to deleteAllTerms function. --- src/taxonomies/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taxonomies/index.js b/src/taxonomies/index.js index ddf3bfb..46f442a 100644 --- a/src/taxonomies/index.js +++ b/src/taxonomies/index.js @@ -84,7 +84,7 @@ export const deleteAllTerms = async ( requestUtils, taxonomy ) => { await requestUtils.batchRest( terms.map( ( term ) => ( { method: 'DELETE', - path: `${ BASE_PATH }/${ taxonomy }/${ term.id }`, + path: `${ BASE_PATH }/${ taxonomy }/${ term.id }?force=true`, } ) ) ); };