Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.7/wp-admin/update-core.php

    r10166 r10347  
    135135    global $wp_filesystem;
    136136
    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');
    138142    if ( false === ($credentials = request_filesystem_credentials($url)) )
    139143        return;
Note: See TracChangeset for help on using the changeset viewer.