WordPress.org

Make WordPress Core

Changeset 49912


Ignore:
Timestamp:
12/29/2020 08:12:42 PM (3 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Second pass at replacing Codex URLs with a corresponding HelpHub or DevHub article.

Follow-up to [45674-45677].

Props marcio-zebedeu, zodiac1978, netweb.
See #48987.

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/readme.html

    r49842 r49912  
    7676    <dt><a href="https://wordpress.org/support/forums/">WordPress Support Forums</a></dt>
    7777        <dd>If you&#8217;ve looked everywhere and still can&#8217;t find an answer, the support forums are very active and have a large community ready to help. To help them help you be sure to use a descriptive thread title and describe your question in as much detail as possible.</dd>
    78     <dt><a href="https://codex.wordpress.org/IRC">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
     78    <dt><a href="https://make.wordpress.org/support/handbook/appendix/other-support-locations/introduction-to-irc/">WordPress <abbr>IRC</abbr> (Internet Relay Chat) Channel</a></dt>
    7979        <dd>There is an online chat channel that is used for discussion among people who use WordPress and occasionally support topics. The above wiki page should point you in the right direction. (<a href="irc://irc.freenode.net/wordpress">irc.freenode.net #wordpress</a>)</dd>
    8080</dl>
  • trunk/src/wp-admin/network/settings.php

    r49013 r49912  
    6161get_current_screen()->set_help_sidebar(
    6262    '<p><strong>' . __( 'For more information:' ) . '</strong></p>' .
    63     '<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Settings_Screen">Documentation on Network Settings</a>' ) . '</p>' .
     63    '<p>' . __( '<a href="https://wordpress.org/support/article/network-admin-settings-screen/">Documentation on Network Settings</a>' ) . '</p>' .
    6464    '<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>'
    6565);
  • trunk/src/wp-admin/options-writing.php

    r48186 r49912  
    206206        <?php
    207207        printf(
    208             /* translators: %s: Codex URL. */
     208            /* translators: %s: Documentation URL. */
    209209            __( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="%s">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ),
    210             __( 'https://codex.wordpress.org/Update_Services' )
     210            __( 'https://wordpress.org/support/article/update-services/' )
    211211        );
    212212        ?>
     
    220220        <?php
    221221        printf(
    222             /* translators: 1: Codex URL, 2: URL to Reading Settings screen. */
     222            /* translators: 1: Documentation URL, 2: URL to Reading Settings screen. */
    223223            __( '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>.' ),
    224             __( 'https://codex.wordpress.org/Update_Services' ),
     224            __( 'https://wordpress.org/support/article/update-services/' ),
    225225            'options-reading.php'
    226226        );
  • trunk/src/wp-includes/query.php

    r49506 r49912  
    902902    if ( 'pre_get_posts' === current_filter() ) {
    903903        $message = sprintf(
    904             /* translators: 1: pre_get_posts, 2: WP_Query->is_main_query(), 3: is_main_query(), 4: Link to codex is_main_query() page. */
     904            /* translators: 1: pre_get_posts, 2: WP_Query->is_main_query(), 3: is_main_query(), 4: Documentation URL. */
    905905            __( 'In %1$s, use the %2$s method, not the %3$s function. See %4$s.' ),
    906906            '<code>pre_get_posts</code>',
    907907            '<code>WP_Query->is_main_query()</code>',
    908908            '<code>is_main_query()</code>',
    909             __( 'https://codex.wordpress.org/Function_Reference/is_main_query' )
     909            __( 'https://developer.wordpress.org/reference/functions/is_main_query/' )
    910910        );
    911911        _doing_it_wrong( __FUNCTION__, $message, '3.7.0' );
  • trunk/src/wp-includes/wp-db.php

    r49184 r49912  
    18881888     * Performs a MySQL database query, using current database connection.
    18891889     *
    1890      * More information can be found on the Codex page.
     1890     * More information can be found on the documentation page.
    18911891     *
    18921892     * @since 0.71
    18931893     *
    1894      * @link https://codex.wordpress.org/Function_Reference/wpdb_Class
     1894     * @link https://developer.wordpress.org/reference/classes/wpdb/
    18951895     *
    18961896     * @param string $query Database query.
Note: See TracChangeset for help on using the changeset viewer.