Changeset 31527 for trunk/src/wp-admin/update-core.php
- Timestamp:
- 02/24/2015 03:00:54 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r31513 r31527 393 393 <?php 394 394 395 if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( ), $allow_relaxed_file_ownership ) ) ) {395 if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ) ) ) { 396 396 echo '</div>'; 397 397 return; … … 400 400 if ( ! WP_Filesystem( $credentials, ABSPATH, $allow_relaxed_file_ownership ) ) { 401 401 // Failed to connect, Error and request again 402 request_filesystem_credentials( $url, '', true, ABSPATH, array( ), $allow_relaxed_file_ownership );402 request_filesystem_credentials( $url, '', true, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ); 403 403 echo '</div>'; 404 404 return;
Note: See TracChangeset
for help on using the changeset viewer.