WordPress.org

Make WordPress Core

Changeset 29749


Ignore:
Timestamp:
09/17/2014 05:57:59 PM (6 years ago)
Author:
nacin
Message:

Don't set ftp_credentials option when installling. see #29635.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/file.php

    r29580 r29749  
    10151015
    10161016        unset($stored_credentials['password'], $stored_credentials['port'], $stored_credentials['private_key'], $stored_credentials['public_key']);
    1017         update_option('ftp_credentials', $stored_credentials);
     1017        if ( ! defined( 'WP_INSTALLING' ) ) {
     1018            update_option( 'ftp_credentials', $stored_credentials );
     1019        }
    10181020        return $credentials;
    10191021    }
Note: See TracChangeset for help on using the changeset viewer.