diff --git a/src/wp-admin/site-editor.php b/src/wp-admin/site-editor.php index 317660909cf1d..90dd0fb04753b 100644 --- a/src/wp-admin/site-editor.php +++ b/src/wp-admin/site-editor.php @@ -61,7 +61,7 @@ static function( $classes ) { $block_editor_context = new WP_Block_Editor_Context( array( 'name' => 'core/edit-site' ) ); $custom_settings = array( - 'siteUrl' => site_url(), + 'siteUrl' => home_url(), 'postsPerPage' => get_option( 'posts_per_page' ), 'styles' => get_block_editor_theme_styles(), 'defaultTemplateTypes' => $indexed_template_types,