Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#25513 closed enhancement (fixed)

wp_check_filetype_and_ext() accepts all files, not just images

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

Description

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

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

#1 @gizburdt
13 years ago

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

#2 @gizburdt
13 years ago

  • Keywords dev-feedback added; has-patch removed

#3 @jeremyfelt
13 years ago

  • Keywords has-patch added; dev-feedback removed
  • Milestone Awaiting Review → 3.7

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

#4 @SergeyBiryukov
13 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 25713:

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

Note: See TracTickets for help on using tickets.