WordPress.org

Make WordPress Core

Ticket #5560: 5560.3.diff

File 5560.3.diff, 491 bytes (added by DD32, 10 years ago)
  • wp-admin/update.php

     
    112112function do_core_upgrade() {
    113113        global $wp_filesystem;
    114114
    115         $url = wp_nonce_url("update.php?action=upgrade-core", "upgrade-core");
     115        $url = wp_nonce_url('update.php?action=do-core-upgrade', 'upgrade-core');
    116116        if ( false === ($credentials = request_filesystem_credentials($url)) )
    117117                return;
    118118