[wp-trac] [WordPress Trac] #34190: Function Reference/wp check filetype

WordPress Trac noreply at wordpress.org
Wed Oct 7 18:23:00 UTC 2015


#34190: Function Reference/wp check filetype
--------------------------+-----------------------
 Reporter:  lpkapil       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.3.1
 Severity:  critical      |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------
Changes (by lpkapil):

 * keywords:  needs-codex => needs-patch
 * status:  closed => reopened
 * resolution:  invalid =>
 * severity:  normal => critical


Comment:

 I think it's an optional parameter mentioned in codex, you can check. Am i
 right ?

 https://codex.wordpress.org/Function_Reference/wp_check_filetype

 Then why should i care about second parameter if it's optional. can you
 explain ?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34190#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list