Opened 11 years ago
Closed 11 years ago
#24107 closed defect (bug) (duplicate)
Plugin/Theme installer asks for connection info when wp-content is writable but wp-admin is not
Reported by: | peckjon | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Filesystem API | Keywords: | |
Focuses: | Cc: |
Description
For background, please see http://www.chrisabernethy.com/why-wordpress-asks-connection-info/
When installing a new plugin or theme, WP first checks to see if it can directly write to the filesystem. If so, it proceeds. If not, it asks the user for FTP connection info.
The directory to which it NEEDS access is /wp-content
However, the directory it CHECKS is /wp-admin
get_filesystem_method() should be changed (or parameterized) to check only /wp-content in cases where /wp-admin access is not needed. This will allow installations to have a higher filesystem-security setting for /wp-admin than for /wp-content, while still utilizing direct filesystem access.
Change History (5)
Note: See
TracTickets for help on using
tickets.
Related: #10205, #7779, #8400, #10423, #10424, #12499, #14753.