[wp-trac] [WordPress Trac] #39476: wp_delete_file filter expects both absolute and relative paths

WordPress Trac noreply at wordpress.org
Wed Jan 11 16:08:24 UTC 2017


#39476: wp_delete_file filter expects both absolute and relative paths
--------------------------+--------------------
 Reporter:  rmccue        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.2
Component:  Media         |     Version:  4.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by Eric3D):

 Can we simply look for {{{://}}} in the string and treat it like absolute
 path if it's present and as relative path if it's not?

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


More information about the wp-trac mailing list