[wp-trac] [WordPress Trac] #57375: Add move_dir() function

WordPress Trac noreply at wordpress.org
Wed Jan 25 21:48:43 UTC 2023


#57375: Add move_dir() function
--------------------------------------+--------------------------
 Reporter:  afragen                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.2
Component:  Filesystem API            |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by costdev):

 === Virtual Box 7.0.6 - Chassis Test Results

 I tested with the Faster Updates plugin by itself, as well as with
 Rollback Update Failure, as this has more complex use of `move_dir()` and
 is a helpful tool for more intensive testing.

 - Oracle did not fix the VirtualBox bug in VirtualBox 7. 🐞
 - VirtualBox 7 + Faster Updates works ✅
 - VirtualBox 7 + Faster Updates + Rollback works ✅
 - VirtualBox 7 + Faster Updates (`wp_opcache_invalidate_directory()`
 disabled, therefore no `filemtime()` or `filesize()` called) reproduces
 the VirtualBox bug 🐞. Expected behaviour ✅
 - VirtualBox 7 + Faster Updates + Rollback + Mixed simulated failures
 works ✅
 - VirtualBox 7 + Faster Updates + Rollback + All simulated failures works
 ✅
 - Tested with 7 plugins (Single and Bulk updates - three each):
   - Akismet
   - Hello Dolly
   - Jetpack
   - MailPoet
   - WooCommerce
   - Yoast SEO
   - WPForms Lite
 - Tested with 7 themes (Single and Bulk updates - three each):
   - Twenty Ten
   - Twenty Twelve
   - Twenty-Twenty One
   - Twenty-Twenty Two
   - Twenty-Twenty Three
   - Block Aarambha
   - OceanWP

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


More information about the wp-trac mailing list