WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/04/2019 01:18:54 AM (3 months 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/rest-api.php

    r45632 r45735  
    152152 *
    153153 * @see add_rewrite_rule()
    154  * @global WP_Rewrite $wp_rewrite
     154 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    155155 */
    156156function rest_api_register_rewrites() {
     
    339339 *
    340340 * @todo Check if this is even necessary
    341  * @global WP_Rewrite $wp_rewrite
     341 * @global WP_Rewrite $wp_rewrite WordPress rewrite component.
    342342 *
    343343 * @param int    $blog_id Optional. Blog ID. Default of null returns URL for current blog.
Note: See TracChangeset for help on using the changeset viewer.