Make WordPress Core

#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 18 months ago.

Download all attachments as: .zip

Change History (5)

@dimadin18 months ago

comment:1 @gizburdt18 months ago

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

comment:2 @gizburdt18 months ago

  • Keywords dev-feedback added; has-patch removed

comment:3 @jeremyfelt18 months 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.

comment:4 @SergeyBiryukov18 months 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.