[wp-trac] [WordPress Trac] #54111: Delete attachment with sizes not working on Windows file system

WordPress Trac noreply at wordpress.org
Wed Oct 4 01:34:15 UTC 2023


#54111: Delete attachment with sizes not working on Windows file system
-------------------------------------------------+-------------------------
 Reporter:  kybernetikservices                   |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  Media                                |     Version:  5.8.1
 Severity:  normal                               |  Resolution:
 Keywords:  reporter-feedback has-patch dev-     |     Focuses:
  feedback needs-testing needs-testing-info      |
-------------------------------------------------+-------------------------

Comment (by bgoewert):

 @nicolefurlan Unfortunately I don't have enough time to give sufficient
 instructions. It looks like `path_is_absolute()` was only used in the
 `path_join()` function, correct? I'd look at processes that use
 [https://github.com/WordPress/wordpress-
 develop/blob/d8206d2167f2c082258f31db163289bae3682e06/src/wp-
 includes/functions.php#L2153 path_join()] and feed incorrect path styles
 to it. Media imports like what this ticket was about is a good example.
 Sorry, if I had more time, I'd write proper instructions with an initial
 test.

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


More information about the wp-trac mailing list