diff --git a/packages/edit-post/src/plugins/index.js b/packages/edit-post/src/plugins/index.js index 34db5f51dd1a1..05a079db4738f 100644 --- a/packages/edit-post/src/plugins/index.js +++ b/packages/edit-post/src/plugins/index.js @@ -5,6 +5,7 @@ import { MenuItem } from '@wordpress/components'; import { Fragment } from '@wordpress/element'; import { __ } from '@wordpress/i18n'; import { registerPlugin } from '@wordpress/plugins'; +import { addQueryArgs } from '@wordpress/url'; /** * Internal dependencies @@ -22,7 +23,7 @@ registerPlugin( 'edit-post', { { __( 'Manage All Reusable Blocks' ) } diff --git a/packages/editor/src/components/inserter/menu.js b/packages/editor/src/components/inserter/menu.js index 0f5ebb437f9e1..7fb3cb2ffdca6 100644 --- a/packages/editor/src/components/inserter/menu.js +++ b/packages/editor/src/components/inserter/menu.js @@ -32,6 +32,7 @@ import { import { withDispatch, withSelect } from '@wordpress/data'; import { withInstanceId, compose, withSafeTimeout } from '@wordpress/compose'; import { LEFT, RIGHT, UP, DOWN, BACKSPACE, ENTER } from '@wordpress/keycodes'; +import { addQueryArgs } from '@wordpress/url'; /** * Internal dependencies @@ -323,7 +324,7 @@ export class InserterMenu extends Component { { __( 'Manage All Reusable Blocks' ) }