Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#25513 closed enhancement (fixed)

wp_check_filetype_and_ext() accepts all files, not just images

Reported by: dimadin Owned by: SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version:
Component: Inline Docs Keywords: has-patch
Focuses: Cc:


Change "image" in doc to "file" since any type of file can be passed.

Attachments (1)

25513.patch (787 bytes) - added by dimadin 2 years ago.

Download all attachments as: .zip

Change History (5)

2 years ago

#1 @gizburdt
2 years ago

Small, but nice! I think this can be commited.

#2 @gizburdt
2 years ago

  • Keywords dev-feedback added; has-patch removed

#3 @jeremyfelt
2 years ago

  • Keywords has-patch added; dev-feedback removed
  • Milestone changed from Awaiting Review to 3.7

Good catch. Moving to 3.7 as a docs change that we should be able to push in.

#4 @SergeyBiryukov
2 years ago

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

In 25713:

Correct phpdoc for wp_check_filetype_and_ext(). props dimadin. fixes #25513.

Note: See TracTickets for help on using tickets.