Changeset 31528
- Timestamp:
- 02/24/2015 03:23:09 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-admin/update-core.php
r31383 r31528 391 391 <?php 392 392 393 if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( ), $allow_relaxed_file_ownership ) ) ) {393 if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ) ) ) { 394 394 echo '</div>'; 395 395 return; … … 398 398 if ( ! WP_Filesystem( $credentials, ABSPATH, $allow_relaxed_file_ownership ) ) { 399 399 // Failed to connect, Error and request again 400 request_filesystem_credentials( $url, '', true, ABSPATH, array( ), $allow_relaxed_file_ownership );400 request_filesystem_credentials( $url, '', true, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ); 401 401 echo '</div>'; 402 402 return;
Note: See TracChangeset
for help on using the changeset viewer.