Changeset 7950
- Timestamp:
- 05/18/2008 08:10:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-admin/update.php
r7465 r7950 23 23 $credentials['username'] = defined('FTP_USER') ? FTP_USER : (!empty($_POST['username']) ? $_POST['username'] : $credentials['username']); 24 24 $credentials['password'] = defined('FTP_PASS') ? FTP_PASS : (!empty($_POST['password']) ? $_POST['password'] : $credentials['password']); 25 $credentials['ssl'] = defined('FTP_SSL') ? FTP_SSL : ( !empty($_POST['ssl']) ? $_POST['ssl'] : $credentials['ssl']);25 $credentials['ssl'] = defined('FTP_SSL') ? FTP_SSL : ( isset($_POST['ssl']) ? $_POST['ssl'] : $credentials['ssl']); 26 26 27 27 if ( ! $error && !empty($credentials['password']) && !empty($credentials['username']) && !empty($credentials['hostname']) ) {
Note: See TracChangeset
for help on using the changeset viewer.