Make WordPress Core


Ignore:
Timestamp:
08/27/2016 02:36:42 PM (10 years ago)
Author:
dd32
Message:

Bootstrap: Revert [38399] as it's broken /build/ and subsequently core.svn.wordpress.org.

The generated classmaps reference /src/ files and operates in the assumption that the base directory is one level above wp-settings.php, which it isn't after our build processes are run.

See #36335

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php

    r38399 r38402  
    3131                $this->errors = new WP_Error();
    3232
     33                // Check if possible to use ftp functions.
     34                if ( ! @include_once( ABSPATH . 'wp-admin/includes/class-ftp.php' ) ) {
     35                        return;
     36                }
    3337                $this->ftp = new ftp();
    3438
Note: See TracChangeset for help on using the changeset viewer.