[wp-trac] [WordPress Trac] #57775: wp_create_file_in_uploads Called as Action Hook

WordPress Trac noreply at wordpress.org
Sat Aug 26 14:37:03 UTC 2023


#57775: wp_create_file_in_uploads Called as Action Hook
-------------------------------------------------+-------------------------
 Reporter:  Howdy_McGee                          |       Owner:
                                                 |  johnbillion
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  6.4
Component:  General                              |     Version:  2.5
 Severity:  trivial                              |  Resolution:
 Keywords:  has-patch needs-refresh 2nd-opinion  |     Focuses:
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * version:  6.1.1 => 2.5


Comment:

 Replying to [comment:2 johnbillion]:
 > I also think this should be converted to always be a filter. Converting
 it to always be an action will break existing filters. I'd like a second
 opinion though.

 That makes sense to me too.

 Introduced in [6551] / #5418, setting the version accordingly.

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


More information about the wp-trac mailing list