Make WordPress Core

Opened 2 years ago

Closed 2 years 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:


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 2 years ago.

Download all attachments as: .zip

Change History (3)

2 years ago

#1 @SergeyBiryukov
2 years 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
2 years 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.