diff --git a/wp-admin/includes/class-wp-filesystem-ftpext.php b/wp-admin/includes/class-wp-filesystem-ftpext.php index c869ec0dc9..7f5f052cbb 100644 --- a/wp-admin/includes/class-wp-filesystem-ftpext.php +++ b/wp-admin/includes/class-wp-filesystem-ftpext.php @@ -520,8 +520,9 @@ class WP_Filesystem_FTPext extends WP_Filesystem_Base { } // Replace symlinks formatted as "source -> target" with just the source name - if ( $b['islink'] ) + if ( isset( $b['islink'] ) && $b['islink'] ) { $b['name'] = preg_replace( '/(\s*->\s*.*)$/', '', $b['name'] ); + } return $b; } diff --git a/wp-includes/version.php b/wp-includes/version.php index b7ec0f3227..b0fe52a322 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-beta2-35475'; +$wp_version = '4.4-beta2-35476'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.