Changeset 17579 for trunk/wp-admin/includes/class-wp-filesystem-base.php
- Timestamp:
- 04/01/2011 09:17:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-filesystem-base.php
r17576 r17579 149 149 150 150 if ( strpos($this->method, 'ftp') !== false ) { 151 $constant_overrides = array( 'FTP_BASE' => ABSPATH, 'FTP_CONTENT_DIR' => WP_CONTENT_DIR, 'FTP_PLUGIN_DIR' => WP_PLUGIN_DIR );151 $constant_overrides = array( 'FTP_BASE' => ABSPATH, 'FTP_CONTENT_DIR' => WP_CONTENT_DIR, 'FTP_PLUGIN_DIR' => WP_PLUGIN_DIR, 'FTP_LANG_DIR' => WP_LANG_DIR ); 152 152 foreach ( $constant_overrides as $constant => $dir ) 153 153 if ( defined($constant) && $folder === $dir )
Note: See TracChangeset
for help on using the changeset viewer.