When installing WordPress 3.8 via application tab with php running in fastcgi mode, plugin / theme installing features do not work. WordPress asks for FTP credentials. The installer adds the following lines to wp-config.php:
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "ftpext";' ));
define( 'FS_CHMOD_DIR', 0755 );
}
If the lines are removed, everything words fine. Is this a bug in the APS package?
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "ftpext";' ));
define( 'FS_CHMOD_DIR', 0755 );
}
If the lines are removed, everything words fine. Is this a bug in the APS package?