From a1b00fc5b92a43f3857f71f4468bb06d97e905b3 Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Wed, 28 Aug 2024 13:48:39 +0700 Subject: [PATCH] Remove placeholder code --- packages/core-data/src/entities.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/core-data/src/entities.js b/packages/core-data/src/entities.js index 0f7f7fad31de42..c8af0dc94348d4 100644 --- a/packages/core-data/src/entities.js +++ b/packages/core-data/src/entities.js @@ -190,17 +190,6 @@ export const rootEntitiesConfig = [ revisionId ? '/' + revisionId : '' }`, supportsPagination: true, - getPath: ( path, query, baseURL, id ) => { - const context = - query.context || - ( query.operation === 'read' ? 'view' : 'edit' ); - const contextQuery = context ? `?context=${ context }` : ''; - return `${ baseURL }${ id ? '/' + id : '' }${ contextQuery }`; - }, - capabilities: { - read: 'edit_posts', - update: 'edit_theme_options', - }, }, { label: __( 'Themes' ),