Opened 6 years ago
Closed 5 years ago
#4181 closed defect (bug) (fixed)
Setup current user info during init
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | Administration | Version: | 2.2 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Currently, the current user is setup when the wp() function is run from wp-blog-header.php. When WP is embedded, however, wp-blog-header.php is not loaded and the current user is never setup. Let's always make sure the current user is setup by calling WP::init at the end of wp-settings.php after plugins and everything else are initialized.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.

I like it. +1. Makes things more unified and simpler, which is always good :).