Make WordPress Core

Ticket #17760: 17760.2.diff

File 17760.2.diff, 641 bytes (added by nacin, 14 years ago)

Mallet.

  • wp-admin/includes/update-core.php

     
    344344        $roots = array( '/wordpress/', '/wordpress-mu/' );
    345345        foreach( $roots as $root ) {
    346346                if ( $wp_filesystem->exists($from . $root . 'wp-settings.php') && $wp_filesystem->exists($from . $root . 'wp-admin/admin.php') &&
    347                         $wp_filesystem->exists($from . $root . 'wp-includes/functions.php') ) {
     347                        $wp_filesystem->exists($from . $root . 'wp-includes/version.php') ) {
    348348                        $distro = $root;
    349349                        break;
    350350                }