[wp-trac] [WordPress Trac] #41855: copy_dir fails in coping some files in nested dirs

WordPress Trac noreply at wordpress.org
Tue Jun 6 12:10:42 UTC 2023


#41855: copy_dir fails in coping some files in nested dirs
-------------------------------------------------+-------------------------
 Reporter:  caraffande                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.3
Component:  Filesystem API                       |     Version:  4.8.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info                                   |
-------------------------------------------------+-------------------------

Comment (by zunaid321):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://patch-diff.githubusercontent.com/raw/WordPress
 /wordpress-develop/pull/4221.diff

 === Environment
 - OS: Windows 11 (22H2)
 - Web Server: nginx/1.23.4
 - PHP: 7.4.33
 - WordPress: 6.3-alpha-55505-src
 - Browser: Chrome Version 114.0.5735.110 (Official Build) (64-bit)
 - Theme: Twenty Twenty-Three

 === Before Applying The Patch
 - Followed the instructions of @costdev
 - ❌ Error message does show up after activating the plugin
 - ❌ This folder exists: wp-content/plugins/test-41855/test-result/test-
 directory

 === After Applying The Patch
 - Followed the same instructions
 - ✅ The admin notice: Success! does show up
 - ✅ wp-content/plugins/test-41855/test-result/test-directory exists with
 the same contents as wp-content/plugins/test-41855/test-directory.

 === Plugins Used
 - Attached: test-41855.zip

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


More information about the wp-trac mailing list