Changeset 11499 for trunk/wp-admin/update-core.php
- Timestamp:
- 05/31/2009 09:08:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/update-core.php
r11383 r11499 143 143 $url = 'update-core.php?action=do-core-upgrade'; 144 144 $url = wp_nonce_url($url, 'upgrade-core'); 145 if ( false === ($credentials = request_filesystem_credentials($url )) )145 if ( false === ($credentials = request_filesystem_credentials($url, '', false, ABSPATH)) ) 146 146 return; 147 147 … … 153 153 154 154 155 if ( ! WP_Filesystem($credentials ) ) {156 request_filesystem_credentials($url, '', true ); //Failed to connect, Error and request again155 if ( ! WP_Filesystem($credentials, ABSPATH) ) { 156 request_filesystem_credentials($url, '', true, ABSPATH); //Failed to connect, Error and request again 157 157 return; 158 158 }
Note: See TracChangeset
for help on using the changeset viewer.