Make WordPress Core

Changeset 32551


Ignore:
Timestamp:
05/22/2015 08:04:38 PM (9 years ago)
Author:
wonderboymusic
Message:

Add missing doc blockss in class-wp.php.

See #32444.

File:
1 edited

Legend:

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

    r31211 r32551  
    115115     *
    116116     * @since 2.0.0
     117     *
     118     * @global WP_Rewrite $wp_rewrite
    117119     *
    118120     * @param array|string $extra_query_vars Set the extra query variables.
     
    489491     * WordPress environment.
    490492     *
    491      * @global string $query_string Query string for the loop.
    492      * @global array $posts The found posts.
     493     * @global WP_Query     $wp_query
     494     * @global string       $query_string Query string for the loop.
     495     * @global array        $posts The found posts.
    493496     * @global WP_Post|null $post The current post, if available.
    494      * @global string $request The SQL statement for the request.
    495      * @global int $more Only set, if single page or post.
    496      * @global int $single If single page or post. Only set, if single page or post.
    497      * @global WP_User $authordata Only set, if author archive.
     497     * @global string       $request The SQL statement for the request.
     498     * @global int          $more Only set, if single page or post.
     499     * @global int          $single If single page or post. Only set, if single page or post.
     500     * @global WP_User      $authordata Only set, if author archive.
    498501     *
    499502     * @since 2.0.0
     
    534537     *
    535538     * @since 2.0.0
     539     *
     540     * @global WP_Query $wp_the_query
    536541     */
    537542    public function query_posts() {
     
    551556     *
    552557     * @since 2.0.0
     558     *
     559     * @global WP_Query $wp_query
    553560     */
    554561    public function handle_404() {
     
    622629        do_action_ref_array( 'wp', array( &$this ) );
    623630    }
    624 
    625631}
    626632
     
    679685     * static helper function to ease use
    680686     *
     687     * @static
    681688     * @access public
     689     *
    682690     * @param string $subject subject
    683691     * @param array  $matches data used for substitution
     
    711719        return ( isset( $this->_matches[$index] ) ? urlencode($this->_matches[$index]) : '' );
    712720    }
    713 
    714721}
Note: See TracChangeset for help on using the changeset viewer.