Make WordPress Core


Ignore:
Timestamp:
08/04/2019 01:18:54 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing description for $wp_rewrite global.

See #45604, #47110.

File:
1 edited

Legend:

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

    r45699 r45735  
    128128 * @since 4.4.0 Array support was added to the `$query` parameter.
    129129 *
    130  * @global WP_Rewrite $wp_rewrite WordPress Rewrite Component.
     130 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    131131 *
    132132 * @param string       $regex Regular expression to match request against.
     
    150150 * @since 2.1.0
    151151 *
    152  * @global WP_Rewrite $wp_rewrite
     152 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    153153 * @global WP         $wp
    154154 *
     
    239239 * @since 2.1.0
    240240 *
    241  * @global WP_Rewrite $wp_rewrite
     241 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    242242 *
    243243 * @param string   $feedname Feed name.
     
    267267 * @since 3.0.0
    268268 *
    269  * @global WP_Rewrite $wp_rewrite
     269 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    270270 *
    271271 * @param bool $hard Whether to update .htaccess (hard flush) or just update
     
    305305 * @since 4.3.0 Added support for skipping query var registration by passing `false` to `$query_var`.
    306306 *
    307  * @global WP_Rewrite $wp_rewrite
     307 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    308308 *
    309309 * @param string      $name      Name of the endpoint.
     
    460460 * @since 1.0.0
    461461 *
    462  * @global WP_Rewrite $wp_rewrite
     462 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    463463 * @global WP         $wp
    464464 *
Note: See TracChangeset for help on using the changeset viewer.