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