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' ),