WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/29/2020 08:12:42 PM (13 months 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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' );
Note: See TracChangeset for help on using the changeset viewer.