mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 13:37:51 +01:00
Add missing doc blockss in class-wp.php
.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32551 git-svn-id: http://core.svn.wordpress.org/trunk@32521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ecf4c668b3
commit
f217f8c5d2
@ -115,6 +115,8 @@ class WP {
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
*
|
||||
* @param array|string $extra_query_vars Set the extra query variables.
|
||||
*/
|
||||
public function parse_request($extra_query_vars = '') {
|
||||
@ -488,13 +490,14 @@ class WP {
|
||||
* be taken when naming global variables that might interfere with the
|
||||
* WordPress environment.
|
||||
*
|
||||
* @global string $query_string Query string for the loop.
|
||||
* @global array $posts The found posts.
|
||||
* @global WP_Query $wp_query
|
||||
* @global string $query_string Query string for the loop.
|
||||
* @global array $posts The found posts.
|
||||
* @global WP_Post|null $post The current post, if available.
|
||||
* @global string $request The SQL statement for the request.
|
||||
* @global int $more Only set, if single page or post.
|
||||
* @global int $single If single page or post. Only set, if single page or post.
|
||||
* @global WP_User $authordata Only set, if author archive.
|
||||
* @global string $request The SQL statement for the request.
|
||||
* @global int $more Only set, if single page or post.
|
||||
* @global int $single If single page or post. Only set, if single page or post.
|
||||
* @global WP_User $authordata Only set, if author archive.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*/
|
||||
@ -533,6 +536,8 @@ class WP {
|
||||
* Set up the Loop based on the query variables.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global WP_Query $wp_the_query
|
||||
*/
|
||||
public function query_posts() {
|
||||
global $wp_the_query;
|
||||
@ -550,6 +555,8 @@ class WP {
|
||||
* Otherwise, issue a 200.
|
||||
*
|
||||
* @since 2.0.0
|
||||
*
|
||||
* @global WP_Query $wp_query
|
||||
*/
|
||||
public function handle_404() {
|
||||
global $wp_query;
|
||||
@ -621,7 +628,6 @@ class WP {
|
||||
*/
|
||||
do_action_ref_array( 'wp', array( &$this ) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@ -678,7 +684,9 @@ class WP_MatchesMapRegex {
|
||||
*
|
||||
* static helper function to ease use
|
||||
*
|
||||
* @static
|
||||
* @access public
|
||||
*
|
||||
* @param string $subject subject
|
||||
* @param array $matches data used for substitution
|
||||
* @return string
|
||||
@ -710,5 +718,4 @@ class WP_MatchesMapRegex {
|
||||
$index = intval(substr($matches[0], 9, -1));
|
||||
return ( isset( $this->_matches[$index] ) ? urlencode($this->_matches[$index]) : '' );
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32550';
|
||||
$wp_version = '4.3-alpha-32551';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user