Ticket #8724: 8724.diff
| File 8724.diff, 633 bytes (added by ryan, 4 years ago) |
|---|
-
wp-admin/update-core.php
134 134 function do_core_upgrade( $reinstall = false ) { 135 135 global $wp_filesystem; 136 136 137 $url = wp_nonce_url('update-core.php?action=do-core-upgrade', 'upgrade-core'); 137 if ( $reinstall ) 138 $url = 'update-core.php?action=do-core-reinstall'; 139 else 140 $url = 'update-core.php?action=do-core-upgrade'; 141 $url = wp_nonce_url($url, 'upgrade-core'); 138 142 if ( false === ($credentials = request_filesystem_credentials($url)) ) 139 143 return; 140 144