Skip to content

Commit

Permalink
Update Manage Pattern links to go to Library
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jun 30, 2023
1 parent 5d2fd62 commit 39bcf6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/edit-post/src/plugins/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ registerPlugin( 'edit-post', {
<>
<MenuItem
role="menuitem"
href={ addQueryArgs( 'edit.php', {
post_type: 'wp_block',
href={ addQueryArgs( 'site-editor.php', {
path: '/patterns',
} ) }
>
{ __( 'Manage Patterns' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ function ReusableBlocksManageButton( { clientId } ) {
return (
<BlockSettingsMenuControls>
<MenuItem
href={ addQueryArgs( 'edit.php', { post_type: 'wp_block' } ) }
href={ addQueryArgs( 'site-editor.php', {
path: '/patterns',
} ) }
>
{ __( 'Manage Patterns' ) }
</MenuItem>
Expand Down

0 comments on commit 39bcf6f

Please sign in to comment.