Opened 16 years ago
Closed 16 years ago
#7861 closed defect (bug) (fixed)
"Unable to locate WordPress directory." on core update & PHPDoc for WP_Filesystem_Base
Reported by: | DD32 | Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Attached patch does 2 things:
- Moves sanitization for windows paths around a bit
- Fixes trailing slash problems which caused "Unable to locate WordPress directory." on core upgrade attempts with FTP
- Added PHPDoc for most of the class functions. (Hopefully the docs are inline with the rest of WP..)
Attachments (3)
Change History (10)
#2
@
16 years ago
attachment 7861.2.diff added.
- Adds a check for situations where the FTP account is rooted to the base of the WordPress install (Which some security concious people do, and some webhosts do(when WordPress is installed into the base of the public_html folder))
Note: See
TracTickets for help on using
tickets.