Skip to content

Commit

Permalink
Remove placeholder code
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 28, 2024
1 parent 4baa390 commit a1b00fc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions packages/core-data/src/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
Expand Down

0 comments on commit a1b00fc

Please sign in to comment.