Skip to content

Commit bbe5ca5

Browse files
Redirect to proper editor_url (#708)
Redirect to proper editor_url. Update create-modal.js
1 parent 61a3d8d commit bbe5ca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/landing-page/create-modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const CreateThemeModal = ( { onRequestClose, creationType } ) => {
7474
'create-block-theme'
7575
)
7676
);
77-
window.location = '/wp-admin/site-editor.php?canvas=edit';
77+
window.location = window.cbt_landingpage_variables.editor_url;
7878
} )
7979
.catch( ( error ) => {
8080
setErrorMessage(

0 commit comments

Comments
 (0)