#8848 closed defect (bug) (fixed)
ACP: fatal error when a plugin issues chdir()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
Warning: require(./admin-footer.php): failed to open stream: No such file or directory in /wp-admin/index.php on line 44 Fatal error: require(): Failed opening required './admin-footer.php' (include_path='.:/usr/local/lib/php') in /wp-admin/index.php on line 44
This happens when a plugin for some reason chdir()s to another directory and WP then fails to find the file.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [10378]) Use ABSPATH when including footer. Props vladimir_kolesnikov. fixes #8848 for trunk