Skip to content

Commit

Permalink
Newsletter: Add edit context query parameter to the single and index …
Browse files Browse the repository at this point in the history
…templates links
  • Loading branch information
enejb committed Jun 25, 2024
1 parent 30e511b commit 5989453
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const SubscribeNavigationSetting = ( {
return addQueryArgs( siteEditorUrl, {
postType: 'wp_template',
postId: `${ themeSlug }//index`,
canvas: 'edit',
} );
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const SubscribePostEndSetting = ( {
return addQueryArgs( siteEditorUrl, {
postType: 'wp_template',
postId: `${ themeSlug }//single`,
canvas: 'edit',
} );
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export const SubscriberLoginNavigationSetting = ( {
return addQueryArgs( siteEditorUrl, {
postType: 'wp_template',
postId: `${ themeSlug }//index`,
canvas: 'edit',
} );
};

Expand Down

0 comments on commit 5989453

Please sign in to comment.