Make WordPress Core

Changeset 30311


Ignore:
Timestamp:
11/12/2014 10:43:09 AM (12 years ago)
Author:
dd32
Message:

PHP 5.2 compatibility for [30310], DIR wasn't added until PHP 5.3. Props TobiasBg. Fixes #29628

File:
1 edited

Legend:

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

    r30310 r30311  
    904904}
    905905
    906 require_once __DIR__ . "/class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php";
     906require_once dirname( __FILE__ ) . "/class-ftp-" . ( $mod_sockets ? "sockets" : "pure" ) . ".php";
Note: See TracChangeset for help on using the changeset viewer.