Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Inline PHP Documentation #5853

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 8 additions & 8 deletions php/wp-settings-cli.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
* If not already configured, `$blog_id` will default to 1 in a single site
* configuration. In multisite, it will be overridden by default in ms-settings.php.
*
* @global int $blog_id
* @since 2.0.0
* @global int $blog_id
*/
global $blog_id;

Expand Down Expand Up @@ -348,44 +348,44 @@ function get_magic_quotes_gpc() {

/**
* WordPress Query object
* @global object $wp_the_query
* @since 2.0.0
* @global object $wp_the_query
*/
$GLOBALS['wp_the_query'] = new WP_Query();

/**
* Holds the reference to @see $wp_the_query
* Use this global for WordPress queries
* @global object $wp_query
* @since 1.5.0
* @global object $wp_query
*/
$GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];

/**
* Holds the WordPress Rewrite object for creating pretty URLs
* @global object $wp_rewrite
* @since 1.5.0
* @global object $wp_rewrite
*/
$GLOBALS['wp_rewrite'] = new WP_Rewrite();

/**
* WordPress Object
* @global object $wp
* @since 2.0.0
* @global object $wp
*/
$GLOBALS['wp'] = new WP();

/**
* WordPress Widget Factory Object
* @global object $wp_widget_factory
* @since 2.8.0
* @global object $wp_widget_factory
*/
$GLOBALS['wp_widget_factory'] = new WP_Widget_Factory();

/**
* WordPress User Roles
* @global object $wp_roles
* @since 2.0.0
* @global object $wp_roles
*/
$GLOBALS['wp_roles'] = new WP_Roles();

Expand All @@ -409,8 +409,8 @@ function get_magic_quotes_gpc() {

/**
* WordPress Locale object for loading locale domain date and various strings.
* @global object $wp_locale
* @since 2.1.0
* @global object $wp_locale
*/
$GLOBALS['wp_locale'] = new WP_Locale();

Expand Down