Make WordPress Core

Changeset 41003


Ignore:
Timestamp:
07/05/2017 09:18:17 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add a @global entry for $wp in redirect_canonical().

Props afzalmultani.
See #41238.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/canonical.php

    r40661 r41003  
    3333 * @global WP_Query $wp_query
    3434 * @global wpdb $wpdb WordPress database abstraction object.
     35 * @global WP $wp Current WordPress environment instance.
    3536 *
    3637 * @param string $requested_url Optional. The URL that was requested, used to
Note: See TracChangeset for help on using the changeset viewer.