Make WordPress Core

Changeset 57793


Ignore:
Timestamp:
03/08/2024 10:36:01 PM (9 months ago)
Author:
audrasjb
Message:

Docs: Update various HelpHub links to avoid unnecessary redirections.

This updates various WP-Admin related links that have been redirected to new HelpHub pages, to avoid unnecessary redirections.

Props mkismy.
See #60732, #60699.

Location:
trunk/src
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/readme.html

    r57173 r57793  
    4848
    4949<h2>Migrating from other systems</h2>
    50 <p>WordPress can <a href="https://wordpress.org/documentation/article/importing-content/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
     50<p>WordPress can <a href="https://developer.wordpress.org/advanced-administration/wordpress/import/">import from a number of systems</a>. First you need to get WordPress installed and working as described above, before using <a href="wp-admin/import.php">our import tools</a>.</p>
    5151
    5252<h2>System Requirements</h2>
  • trunk/src/wp-admin/edit-form-advanced.php

    r57136 r57793  
    360360if ( 'post' === $post_type || 'page' === $post_type ) {
    361361    $inserting_media  = '<p>' . __( 'You can upload and insert media (images, audio, documents, etc.) by clicking the Add Media button. You can select from the images and files already uploaded to the Media Library, or upload new media to add to your page or post. To create an image gallery, select the images to add and click the &#8220;Create a new gallery&#8221; button.' ) . '</p>';
    362     $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://wordpress.org/documentation/article/embeds/">Learn more about embeds</a>.' ) . '</p>';
     362    $inserting_media .= '<p>' . __( 'You can also embed media from many popular websites including Twitter, YouTube, Flickr and others by pasting the media URL on its own line into the content of your post/page. <a href="https://developer.wordpress.org/advanced-administration/wordpress/oembed/">Learn more about embeds</a>.' ) . '</p>';
    363363
    364364    get_current_screen()->add_help_tab(
     
    378378
    379379    if ( current_theme_supports( 'post-formats' ) && post_type_supports( 'post', 'post-formats' ) ) {
    380         $publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://wordpress.org/documentation/article/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
     380        $publish_box .= '<li>' . __( '<strong>Format</strong> &mdash; Post Formats designate how your theme will display a specific post. For example, you could have a <em>standard</em> blog post with a title and paragraphs, or a short <em>aside</em> that omits the title and contains a short text blurb. Your theme could enable all or some of 10 possible formats. <a href="https://developer.wordpress.org/advanced-administration/wordpress/post-formats/#supported-formats">Learn more about each post format</a>.' ) . '</li>';
    381381    }
    382382
  • trunk/src/wp-admin/includes/class-plugin-installer-skin.php

    r57714 r57793  
    294294                    /* translators: %s: Documentation URL. */
    295295                    __( 'You are uploading an older version of a current plugin. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
    296                     __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
     296                    __( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
    297297                );
    298298            } else {
     
    300300                    /* translators: %s: Documentation URL. */
    301301                    __( 'You are updating a plugin. Be sure to <a href="%s">back up your database and files</a> first.' ),
    302                     __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
     302                    __( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
    303303                );
    304304            }
  • trunk/src/wp-admin/includes/class-theme-installer-skin.php

    r57714 r57793  
    329329                    /* translators: %s: Documentation URL. */
    330330                    __( 'You are uploading an older version of the active theme. You can continue to install the older version, but be sure to <a href="%s">back up your database and files</a> first.' ),
    331                     __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
     331                    __( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
    332332                );
    333333            } else {
     
    335335                    /* translators: %s: Documentation URL. */
    336336                    __( 'You are updating a theme. Be sure to <a href="%s">back up your database and files</a> first.' ),
    337                     __( 'https://wordpress.org/documentation/article/wordpress-backups/' )
     337                    __( 'https://developer.wordpress.org/advanced-administration/security/backup/' )
    338338                );
    339339            }
  • trunk/src/wp-admin/includes/class-wp-site-health.php

    r57141 r57793  
    14901490                '<p><a href="%s" target="_blank" rel="noopener">%s<span class="screen-reader-text"> %s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
    14911491                /* translators: Documentation explaining debugging in WordPress. */
    1492                 esc_url( __( 'https://wordpress.org/documentation/article/debugging-in-wordpress/' ) ),
     1492                esc_url( __( 'https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/' ) ),
    14931493                __( 'Learn more about debugging in WordPress.' ),
    14941494                /* translators: Hidden accessibility text. */
     
    25052505            'actions'     => sprintf(
    25062506                '<p><a href="%1$s" target="_blank" rel="noopener noreferrer">%2$s<span class="screen-reader-text"> %3$s</span><span aria-hidden="true" class="dashicons dashicons-external"></span></a></p>',
    2507                 __( 'https://wordpress.org/documentation/article/optimization/#Caching' ),
     2507                __( 'https://developer.wordpress.org/advanced-administration/performance/optimization/#Caching' ),
    25082508                __( 'Learn more about page cache' ),
    25092509                /* translators: Hidden accessibility text. */
     
    26142614            'site_status_persistent_object_cache_url',
    26152615            /* translators: Localized Support reference. */
    2616             __( 'https://wordpress.org/documentation/article/optimization/#persistent-object-cache' )
     2616            __( 'https://developer.wordpress.org/advanced-administration/performance/optimization/#persistent-object-cache' )
    26172617        );
    26182618
  • trunk/src/wp-admin/includes/file.php

    r57537 r57793  
    327327                        /* translators: %s: Documentation URL. */
    328328                        __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    329                         __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
     329                        __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
    330330                    );
    331331                    ?>
     
    22502250 * or filtering via {@see 'filesystem_method'}.
    22512251 *
    2252  * @link https://wordpress.org/documentation/article/editing-wp-config-php/#wordpress-upgrade-constants
     2252 * @link https://developer.wordpress.org/advanced-administration/wordpress/wp-config/#wordpress-upgrade-constants
    22532253 *
    22542254 * Plugins may define a custom transport handler, See WP_Filesystem().
  • trunk/src/wp-admin/includes/network.php

    r56599 r57793  
    695695            /* translators: %s: Documentation URL. */
    696696            __( 'It seems your network is running with Nginx web server. <a href="%s">Learn more about further configuration</a>.' ),
    697             __( 'https://wordpress.org/documentation/article/nginx/' )
     697            __( 'https://developer.wordpress.org/advanced-administration/server/web-server/nginx/' )
    698698        );
    699699        echo '</p></li>';
  • trunk/src/wp-admin/network.php

    r55412 r57793  
    6666    '<p>' . __( 'The choice of subdirectory sites is disabled if this setup is more than a month old because of permalink problems with &#8220;/blog/&#8221; from the main site. This disabling will be addressed in a future version.' ) . '</p>' .
    6767    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    68     '<p>' . __( '<a href="https://wordpress.org/documentation/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
     68    '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/create-network/">Documentation on Creating a Network</a>' ) . '</p>' .
    6969    '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>';
    7070
     
    7979get_current_screen()->set_help_sidebar(
    8080    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    81     '<p>' . __( '<a href="https://wordpress.org/documentation/article/create-a-network/">Documentation on Creating a Network</a>' ) . '</p>' .
     81    '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/create-network/">Documentation on Creating a Network</a>' ) . '</p>' .
    8282    '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-network-screen/">Documentation on the Network Screen</a>' ) . '</p>' .
    8383    '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
  • trunk/src/wp-admin/network/index.php

    r55415 r57793  
    5454get_current_screen()->set_help_sidebar(
    5555    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    56     '<p>' . __( '<a href="https://wordpress.org/documentation/article/network-admin/">Documentation on the Network Admin</a>' ) . '</p>' .
     56    '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/multisite/admin/">Documentation on the Network Admin</a>' ) . '</p>' .
    5757    '<p>' . __( '<a href="https://wordpress.org/support/forum/multisite/">Support forums</a>' ) . '</p>'
    5858);
  • trunk/src/wp-admin/options-general.php

    r57766 r57793  
    3333            /* translators: %s: Documentation URL. */
    3434            __( 'Though the terms refer to two different concepts, in practice, they can be the same address or different. For example, you can have the core WordPress installation files in the root directory (<code>https://example.com</code>), in which case the two URLs would be the same. Or the <a href="%s">WordPress files can be in a subdirectory</a> (<code>https://example.com/wordpress</code>). In that case, the WordPress URL and the site URL would be different.' ),
    35             __( 'https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/' )
    36         ) . '</p>' .
     35            __( 'https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/' )
     36            ) . '</p>' .
    3737        '<p>' . sprintf(
    3838            /* translators: 1: http://, 2: https:// */
     
    236236            /* translators: %s: Documentation URL. */
    237237            __( 'Enter the same address here unless you <a href="%s">want your site home page to be different from your WordPress installation directory</a>.' ),
    238             __( 'https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/' )
     238            __( 'https://developer.wordpress.org/advanced-administration/server/wordpress-in-directory/' )
    239239        );
    240240        ?>
  • trunk/src/wp-admin/options-permalink.php

    r57612 r57793  
    6262
    6363if ( $is_nginx ) {
    64     $help_sidebar_content .= '<p>' . __( '<a href="https://wordpress.org/documentation/article/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>';
     64    $help_sidebar_content .= '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/server/web-server/nginx/">Documentation on Nginx configuration</a>.' ) . '</p>';
    6565}
    6666
     
    466466                    __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. This is the URL rewrite rule you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this rule inside of the %5$s element in %1$s file.' ),
    467467                    '<code>web.config</code>',
    468                     __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
     468                    __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' ),
    469469                    '<kbd>Ctrl + A</kbd>',
    470470                    '<kbd>⌘ + A</kbd>',
     
    498498                    /* translators: 1: Documentation URL, 2: web.config, 3: Ctrl + A, 4: ⌘ + A */
    499499                    __( '<strong>Error:</strong> The root directory of your site is not <a href="%1$s">writable</a>, so creating a file automatically was not possible. This is the URL rewrite rule you should have in your %2$s file. Create a new file called %2$s in the root directory of your site. Click in the field and press %3$s (or %4$s on Mac) to select all. Then insert this code into the %2$s file.' ),
    500                     __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
     500                    __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' ),
    501501                    '<code>web.config</code>',
    502502                    '<kbd>Ctrl + A</kbd>',
     
    534534                __( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. These are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all.' ),
    535535                '<code>.htaccess</code>',
    536                 __( 'https://wordpress.org/documentation/article/changing-file-permissions/' ),
     536                __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' ),
    537537                '<kbd>Ctrl + A</kbd>',
    538538                '<kbd>⌘ + A</kbd>'
  • trunk/src/wp-admin/options-writing.php

    r55974 r57793  
    226226            /* translators: %s: Documentation URL. */
    227227            __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see the <a href="%s">Update Services</a> documentation article. Separate multiple service URLs with line breaks.' ),
    228             __( 'https://wordpress.org/documentation/article/update-services/' )
     228            __( 'https://developer.wordpress.org/advanced-administration/wordpress/update-services/' )
    229229        );
    230230        ?>
     
    240240            /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */
    241241            __( 'WordPress is not notifying any <a href="%1$s">Update Services</a> because of your site&#8217;s <a href="%2$s">visibility settings</a>.' ),
    242             __( 'https://wordpress.org/documentation/article/update-services/' ),
     242            __( 'https://developer.wordpress.org/advanced-administration/wordpress/update-services/' ),
    243243            'options-reading.php'
    244244        );
  • trunk/src/wp-admin/plugin-editor.php

    r57522 r57793  
    324324                /* translators: %s: Documentation URL. */
    325325                __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    326                 __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
     326                __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
    327327            );
    328328            ?>
  • trunk/src/wp-admin/setup-config.php

    r57756 r57793  
    198198            /* translators: 1: Documentation URL, 2: wp-config.php */
    199199            __( 'Need more help? <a href="%1$s">Read the support article on %2$s</a>.' ),
    200             __( 'https://wordpress.org/documentation/article/editing-wp-config-php/' ),
     200            __( 'https://developer.wordpress.org/advanced-administration/wordpress/wp-config/' ),
    201201            '<code>wp-config.php</code>'
    202202        );
     
    485485                        __( 'You need to make the file %1$s writable before you can save your changes. See <a href="%2$s">Changing File Permissions</a> for more information.' ),
    486486                        '<code>wp-config.php</code>',
    487                         __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
     487                        __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
    488488                    );
    489489                } else {
  • trunk/src/wp-admin/theme-editor.php

    r57522 r57793  
    5252    '<p>' . __( '<a href="https://developer.wordpress.org/themes/">Documentation on Theme Development</a>' ) . '</p>' .
    5353    '<p>' . __( '<a href="https://wordpress.org/documentation/article/appearance-theme-file-editor-screen/">Documentation on Editing Themes</a>' ) . '</p>' .
    54     '<p>' . __( '<a href="https://wordpress.org/documentation/article/editing-files/">Documentation on Editing Files</a>' ) . '</p>' .
     54    '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/wordpress/edit-files/">Documentation on Editing Files</a>' ) . '</p>' .
    5555    '<p>' . __( '<a href="https://developer.wordpress.org/themes/basics/template-tags/">Documentation on Template Tags</a>' ) . '</p>' .
    5656    '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>'
     
    357357                        /* translators: %s: Documentation URL. */
    358358                        __( 'You need to make this file writable before you can save your changes. See <a href="%s">Changing File Permissions</a> for more information.' ),
    359                         __( 'https://wordpress.org/documentation/article/changing-file-permissions/' )
     359                        __( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' )
    360360                    );
    361361                    ?>
  • trunk/src/wp-admin/update-core.php

    r57529 r57793  
    259259            /* translators: 1: Documentation on WordPress backups, 2: Documentation on updating WordPress. */
    260260            __( '<strong>Important:</strong> Before updating, please <a href="%1$s">back up your database and files</a>. For help with updates, visit the <a href="%2$s">Updating WordPress</a> documentation page.' ),
    261             __( 'https://wordpress.org/documentation/article/wordpress-backups/' ),
     261            __( 'https://developer.wordpress.org/advanced-administration/security/backup/' ),
    262262            __( 'https://wordpress.org/documentation/article/updating-wordpress/' )
    263263        );
     
    10461046    );
    10471047
    1048     $help_sidebar_rollback = '<p>' . __( '<a href="https://wordpress.org/documentation/article/common-wordpress-errors/">Common Errors</a>' ) . '</p>';
     1048    $help_sidebar_rollback = '<p>' . __( '<a href="https://developer.wordpress.org/advanced-administration/wordpress/common-errors/">Common Errors</a>' ) . '</p>';
    10491049}
    10501050
Note: See TracChangeset for help on using the changeset viewer.