mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-07 06:05:42 +00:00
Help/About: Use the new /documentation/ URLs for HelpHub links in WordPress Admin.
As `https://wordpress.org/support/` was redirected to `https://wordpress.org/documentation/`, this changeset replaces various `/support/article/*` links with `/documentation/article/*` to avoid an extra redirect. This also updates links to Support Forums by replacing `https://wordpress.org/support/` URLs with `https://wordpress.org/support/forums/`. Props SergeyBiryukov, audrasjb, dhrupo, hasanmisbah, sakibmd, sabernhardt. See #57726. git-svn-id: https://develop.svn.wordpress.org/trunk@55412 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1294,7 +1294,7 @@ function wp_default_scripts( $scripts ) {
|
||||
'blockThemeNotification' => sprintf(
|
||||
/* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */
|
||||
__( 'Hurray! Your theme supports site editing with blocks. <a href="%1$s">Tell me more</a>. %2$s' ),
|
||||
__( 'https://wordpress.org/support/article/site-editor/' ),
|
||||
__( 'https://wordpress.org/documentation/article/site-editor/' ),
|
||||
sprintf(
|
||||
'<button type="button" data-action="%1$s" class="button switch-to-editor">%2$s</button>',
|
||||
esc_url( admin_url( 'site-editor.php' ) ),
|
||||
|
||||
Reference in New Issue
Block a user