Opened 18 years ago
Closed 17 years ago
#4181 closed defect (bug) (fixed)
Setup current user info during init
Reported by: | ryan | Owned by: | ryan |
---|---|---|---|
Milestone: | 2.5 | Priority: | normal |
Severity: | normal | Version: | 2.2 |
Component: | Administration | Keywords: | |
Focuses: | 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 :).