WordPress.org

WordPress build repository browser

Changeset 38991


Ignore:
Timestamp:
10/31/16 05:50:29 (12 months ago)
Author:
DrewAPicture
Message:

Docs: The query_vars filter used in the REST posts controller should be notated as a duplicate rather than a new hook.

See #38398.

Built from https://develop.svn.wordpress.org/trunk@39049

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php

    r38989 r38991  
    845845        global $wp; 
    846846 
    847         /** 
    848          * Filters the publicly allowed query vars. 
    849          * 
    850          * Allows adjusting of the default query vars that are made public. 
    851          * 
    852          * @since 4.7.0 
    853          * 
    854          * @param array  Array of allowed WP_Query query vars. 
    855          */ 
     847        /** This filter is documented in wp-includes/class-wp.php */ 
    856848        $valid_vars = apply_filters( 'query_vars', $wp->public_query_vars ); 
    857849 
  • trunk/wp-includes/version.php

    r38990 r38991  
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '4.7-beta1-39048'; 
     7$wp_version = '4.7-beta1-39049'; 
    88 
    99/** 
Note: See TracChangeset for help on using the changeset viewer.