Skip to content

Commit

Permalink
Add a context param to sidebar entity request (#40148)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnajdr authored Apr 12, 2022
1 parent e8d411b commit c0df238
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-data/src/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export const rootEntitiesConfig = [
name: 'sidebar',
kind: 'root',
baseURL: '/wp/v2/sidebars',
baseURLParams: { context: 'edit' },
plural: 'sidebars',
transientEdits: { blocks: true },
label: __( 'Widget areas' ),
Expand Down

0 comments on commit c0df238

Please sign in to comment.