Changeset 47584 for trunk/src/wp-admin/includes/file.php
- Timestamp:
- 04/15/2020 11:52:38 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/file.php
r47550 r47584 1925 1925 } 1926 1926 1927 if ( ! $method && isset( $args['connection_type'] ) && 'ssh' == $args['connection_type'] && extension_loaded( 'ssh2' ) && function_exists( 'stream_get_contents' )) {1927 if ( ! $method && isset( $args['connection_type'] ) && 'ssh' == $args['connection_type'] && extension_loaded( 'ssh2' ) ) { 1928 1928 $method = 'ssh2'; 1929 1929 } … … 2109 2109 $types['ftps'] = __( 'FTPS (SSL)' ); 2110 2110 } 2111 if ( extension_loaded( 'ssh2' ) && function_exists( 'stream_get_contents' )) {2111 if ( extension_loaded( 'ssh2' ) ) { 2112 2112 $types['ssh'] = __( 'SSH2' ); 2113 2113 }
Note: See TracChangeset
for help on using the changeset viewer.