| @@ -818,15 +818,11 @@ | ||
| 818 | 818 | } |
| 819 | 819 | |
| 820 | 820 | $link = $host->is_wpcom_platform() ? $wpcom_link : Redirect::get_url( 'jetpack-support-sharing-block' ); |
| 821 | 821 | |
| 822 | - $site_editor_url = admin_url( | |
| 823 | - 'site-editor.php?p=' . rawurlencode( '/wp_template/' . get_stylesheet() . '//single' ) . '&canvas=edit' | |
| 824 | - ); | |
| 825 | - | |
| 826 | 822 | ?> |
| 827 | 823 | <div class="sharing-block-message__buttons-wrapper"> |
| 828 | - <a href="<?php echo esc_url( $site_editor_url ); ?>" class="button button-primary"> | |
| 824 | + <a href="<?php echo esc_url( admin_url( 'site-editor.php?path=%2Fwp_template' ) ); ?>" class="button button-primary"> | |
| 829 | 825 | <?php esc_html_e( 'Go to the site editor', 'jetpack' ); ?> |
| 830 | 826 | </a> |
| 831 | 827 | <a data-target="wpcom-help-center" href="<?php echo esc_url( $link ); ?>" class="button" target="_blank" rel="noopener noreferrer"> |
| 832 | 828 | <?php esc_html_e( 'Learn how to add Sharing Buttons', 'jetpack' ); ?> |