[wp-trac] [WordPress Trac] #29628: Undefined variable: arg class-ftp.php:508
WordPress Trac
noreply at wordpress.org
Wed Nov 12 10:08:50 UTC 2014
#29628: Undefined variable: arg class-ftp.php:508
----------------------------+-----------------------
Reporter: hugodelgado | Owner: dd32
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.1
Component: Filesystem API | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+-----------------------
Changes (by TobiasBg):
* status: closed => reopened
* resolution: fixed =>
Comment:
For [30310]: `__DIR__` was only added in PHP 5.3.0, so we can't use it,
unfortunately.
I suggest to replace it with `dirname( __FILE__ )`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29628#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list