WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#41395 closed defect (bug) (fixed)

Add @staticvar entries for $cache and $tested_paths in wp_upload_dir()

Reported by: ajayghaghretiya1 Owned by: SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Upload Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

static variables $cache and $tested_paths are used in the functions but not mention in the documentation of the function.

Attachments (1)

41395.patch (574 bytes) - added by ajayghaghretiya1 3 years ago.

Download all attachments as: .zip

Change History (5)

#1 @ajayghaghretiya1
3 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
3 years ago

  • Component changed from General to Upload
  • Milestone changed from Awaiting Review to 4.9

#3 @SergeyBiryukov
3 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 41113:

Docs: Add @staticvar entries for $cache and $tested_paths in wp_upload_dir().

Props ajayghaghretiya1.
Fixes #41395.

#4 @SergeyBiryukov
2 years ago

  • Summary changed from Need documentation improvement to Add @staticvar entries for $cache and $tested_paths in wp_upload_dir()
Note: See TracTickets for help on using tickets.