Opened 11 years ago
Closed 11 years ago
#30313 closed defect (bug) (invalid)
get_blog_details gets Fatal error
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.0 |
Component: | Networks and Sites | Keywords: | |
Focuses: | multisite | Cc: |
Description
When calling the get_blog_details function from sunrise.php, it gives a Fatal error.
Fatal error: Call to undefined function untrailingslashit() in /htdocs/wp-includes/option.php on line 110
Change History (1)
Note: See
TracTickets for help on using
tickets.
This is actually expected behavior.
sunrise.php
loads very early in the boot process as a way to allow the routing of various requests or for various tasks to be performed before WordPress loads a network or a site.get_site_by_path()
is available (seems-load.php
), and that may help a bit. Otherwise look at performing a manual query on the blogs table.