Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41395 closed defect (bug) (fixed)

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

Reported by: ajayghaghretiya1's profile ajayghaghretiya1 Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: Upload Keywords: has-patch
Focuses: docs Cc:


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

Download all attachments as: .zip

Change History (5)

#1 @ajayghaghretiya1
7 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 years ago

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

#3 @SergeyBiryukov
7 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
7 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.