diff --git a/src/wp-settings.php b/src/wp-settings.php
index 38b03ecf72..b5ae854b9c 100644
a
|
b
|
require_once ABSPATH . WPINC . '/plugin.php'; |
53 | 53 | * If not already configured, `$blog_id` will default to 1 in a single site |
54 | 54 | * configuration. In multisite, it will be overridden by default in ms-settings.php. |
55 | 55 | * |
56 | | * @global int $blog_id |
57 | 56 | * @since 2.0.0 |
| 57 | * |
| 58 | * @global int $blog_id |
58 | 59 | */ |
59 | 60 | global $blog_id; |
60 | 61 | |
… |
… |
require ABSPATH . WPINC . '/class-wp-error.php'; |
116 | 117 | require ABSPATH . WPINC . '/pomo/mo.php'; |
117 | 118 | |
118 | 119 | /** |
119 | | * @global wpdb $wpdb WordPress database abstraction object. |
120 | 120 | * @since 0.71 |
| 121 | * |
| 122 | * @global wpdb $wpdb WordPress database abstraction object. |
121 | 123 | */ |
122 | 124 | global $wpdb; |
123 | 125 | // Include the wpdb class and, if present, a db.php database drop-in. |
… |
… |
do_action( 'sanitize_comment_cookies' ); |
521 | 523 | /** |
522 | 524 | * WordPress Query object |
523 | 525 | * |
524 | | * @global WP_Query $wp_the_query WordPress Query object. |
525 | 526 | * @since 2.0.0 |
| 527 | * |
| 528 | * @global WP_Query $wp_the_query WordPress Query object. |
526 | 529 | */ |
527 | 530 | $GLOBALS['wp_the_query'] = new WP_Query(); |
528 | 531 | |
… |
… |
$GLOBALS['wp_the_query'] = new WP_Query(); |
530 | 533 | * Holds the reference to {@see $wp_the_query}. |
531 | 534 | * Use this global for WordPress queries |
532 | 535 | * |
533 | | * @global WP_Query $wp_query WordPress Query object. |
534 | 536 | * @since 1.5.0 |
| 537 | * |
| 538 | * @global WP_Query $wp_query WordPress Query object. |
535 | 539 | */ |
536 | 540 | $GLOBALS['wp_query'] = $GLOBALS['wp_the_query']; |
537 | 541 | |
538 | 542 | /** |
539 | 543 | * Holds the WordPress Rewrite object for creating pretty URLs |
540 | 544 | * |
541 | | * @global WP_Rewrite $wp_rewrite WordPress rewrite component. |
542 | 545 | * @since 1.5.0 |
| 546 | * |
| 547 | * @global WP_Rewrite $wp_rewrite WordPress rewrite component. |
543 | 548 | */ |
544 | 549 | $GLOBALS['wp_rewrite'] = new WP_Rewrite(); |
545 | 550 | |
546 | 551 | /** |
547 | 552 | * WordPress Object |
548 | 553 | * |
549 | | * @global WP $wp Current WordPress environment instance. |
550 | 554 | * @since 2.0.0 |
| 555 | * |
| 556 | * @global WP $wp Current WordPress environment instance. |
551 | 557 | */ |
552 | 558 | $GLOBALS['wp'] = new WP(); |
553 | 559 | |
554 | 560 | /** |
555 | 561 | * WordPress Widget Factory Object |
556 | 562 | * |
557 | | * @global WP_Widget_Factory $wp_widget_factory |
558 | 563 | * @since 2.8.0 |
| 564 | * |
| 565 | * @global WP_Widget_Factory $wp_widget_factory |
559 | 566 | */ |
560 | 567 | $GLOBALS['wp_widget_factory'] = new WP_Widget_Factory(); |
561 | 568 | |
562 | 569 | /** |
563 | 570 | * WordPress User Roles |
564 | 571 | * |
565 | | * @global WP_Roles $wp_roles WordPress role management object. |
566 | 572 | * @since 2.0.0 |
| 573 | * |
| 574 | * @global WP_Roles $wp_roles WordPress role management object. |
567 | 575 | */ |
568 | 576 | $GLOBALS['wp_roles'] = new WP_Roles(); |
569 | 577 | |
… |
… |
unset( $locale_file ); |
590 | 598 | /** |
591 | 599 | * WordPress Locale object for loading locale domain date and various strings. |
592 | 600 | * |
593 | | * @global WP_Locale $wp_locale WordPress date and time locale object. |
594 | 601 | * @since 2.1.0 |
| 602 | * |
| 603 | * @global WP_Locale $wp_locale WordPress date and time locale object. |
595 | 604 | */ |
596 | 605 | $GLOBALS['wp_locale'] = new WP_Locale(); |
597 | 606 | |