Changeset 57320 for trunk/src/wp-settings.php
- Timestamp:
- 01/20/2024 04:06:31 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-settings.php
r57287 r57320 54 54 * configuration. In multisite, it will be overridden by default in ms-settings.php. 55 55 * 56 * @since 2.0.0 57 * 56 58 * @global int $blog_id 57 * @since 2.0.058 59 */ 59 60 global $blog_id; … … 117 118 118 119 /** 120 * @since 0.71 121 * 119 122 * @global wpdb $wpdb WordPress database abstraction object. 120 * @since 0.71121 123 */ 122 124 global $wpdb; … … 525 527 * WordPress Query object 526 528 * 529 * @since 2.0.0 530 * 527 531 * @global WP_Query $wp_the_query WordPress Query object. 528 * @since 2.0.0529 532 */ 530 533 $GLOBALS['wp_the_query'] = new WP_Query(); … … 534 537 * Use this global for WordPress queries 535 538 * 539 * @since 1.5.0 540 * 536 541 * @global WP_Query $wp_query WordPress Query object. 542 */ 543 $GLOBALS['wp_query'] = $GLOBALS['wp_the_query']; 544 545 /** 546 * Holds the WordPress Rewrite object for creating pretty URLs 547 * 537 548 * @since 1.5.0 538 */539 $GLOBALS['wp_query'] = $GLOBALS['wp_the_query'];540 541 /**542 * Holds the WordPress Rewrite object for creating pretty URLs543 549 * 544 550 * @global WP_Rewrite $wp_rewrite WordPress rewrite component. 545 * @since 1.5.0546 551 */ 547 552 $GLOBALS['wp_rewrite'] = new WP_Rewrite(); … … 550 555 * WordPress Object 551 556 * 557 * @since 2.0.0 558 * 552 559 * @global WP $wp Current WordPress environment instance. 560 */ 561 $GLOBALS['wp'] = new WP(); 562 563 /** 564 * WordPress Widget Factory Object 565 * 566 * @since 2.8.0 567 * 568 * @global WP_Widget_Factory $wp_widget_factory 569 */ 570 $GLOBALS['wp_widget_factory'] = new WP_Widget_Factory(); 571 572 /** 573 * WordPress User Roles 574 * 553 575 * @since 2.0.0 554 */555 $GLOBALS['wp'] = new WP();556 557 /**558 * WordPress Widget Factory Object559 *560 * @global WP_Widget_Factory $wp_widget_factory561 * @since 2.8.0562 */563 $GLOBALS['wp_widget_factory'] = new WP_Widget_Factory();564 565 /**566 * WordPress User Roles567 576 * 568 577 * @global WP_Roles $wp_roles WordPress role management object. 569 * @since 2.0.0570 578 */ 571 579 $GLOBALS['wp_roles'] = new WP_Roles(); … … 594 602 * WordPress Locale object for loading locale domain date and various strings. 595 603 * 604 * @since 2.1.0 605 * 596 606 * @global WP_Locale $wp_locale WordPress date and time locale object. 597 * @since 2.1.0598 607 */ 599 608 $GLOBALS['wp_locale'] = new WP_Locale();
Note: See TracChangeset
for help on using the changeset viewer.