WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

#47668 closed defect (bug) (fixed)

Undefined variable error in WP_Filesystem_Direct

Reported by: zinigor Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: normal Version:
Component: Filesystem API Keywords:
Focuses: Cc:
PR Number:

Description

A change r45611 has introduced an undefined variable in the code. The use was discovered when we tried to run a Travis build https://travis-ci.org/Automattic/jetpack/jobs/556235802 using WordPress core trunk. The included patch should fix the problem.

Attachments (1)

patch.diff (490 bytes) - added by zinigor 4 months ago.

Download all attachments as: .zip

Change History (3)

@zinigor
4 months ago

#1 @SergeyBiryukov
4 months ago

  • Component changed from Administration to Filesystem API
  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#2 @SergeyBiryukov
4 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 45613:

Filesystem API: Check correct variable in WP_Filesystem_Direct::dirlist() after [45611].

Props zinigor.
Fixes #47668. See #47632.

Note: See TracTickets for help on using tickets.