[wp-trac] [WordPress Trac] #24603: Introduce pre_move_uploaded_file filter to allow pre-processing of uploaded files

WordPress Trac noreply at wordpress.org
Wed Aug 16 21:15:24 UTC 2017


#24603: Introduce pre_move_uploaded_file filter to allow pre-processing of uploaded
files
-------------------------+------------------
 Reporter:  ryan         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.9
Component:  Upload       |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:
-------------------------+------------------
Changes (by DrewAPicture):

 * milestone:  Awaiting Review => 4.9


Comment:

 @Mte90 Updated patch looks pretty good. There's just a couple things I
 wanted to note that I'll go ahead and fix on commit:

 * There should be a space between the DocBlock summary and description
 * In the case of "real" values like `null` we typically assign "pseudo-
 variables" in the DocBlock so as to best illustrate what the value to
 represents. In this case, we'll probably just reuse `$move_new_file`

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


More information about the wp-trac mailing list