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

WordPress Trac noreply at wordpress.org
Thu Jan 26 00:56:28 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 ironprogrammer):

 == Test Report
 This testing validates recent PR/test plugin updates that resolve PHP
 warnings logged in VirtualBox 6.

 Patch tested: [https://github.com/WordPress/wordpress-develop/pull/3798 PR
 3798] via the [https://github.com/afragen/faster-
 updates/archive/refs/heads/main.zip Faster Updates plugin zip]

 === Environment
 - OS: macOS 12.6.2 (Intel)
 - Virtual Server: Chassis 5.1.0 (Vagrant 2.3.4 + VirtualBox 6.1.42)
 - Web Server: nginx/1.18.0
 - PHP: 7.4.33
 - WordPress: 6.1.1
 - Browser: Safari 16.2
 - Active Plugins:
   - Faster Updates (since [https://github.com/afragen/faster-
 updates/commit/5a0a12fe1c4caf369db2937c0be755ed25e0f6d2 commit 5a0a12f])
   - Rollback Update Failure v4.1.2 (tested both active/inactive)

 === Actual Results
 - ✅ Plugins updated successfully:
   - Akismet Anti-Spam
   - Hello Dolly
   - Jetpack
   - MailPoet
   - WooCommerce
   - Yoast SEO
 - ✅ No PHP errors/warnings/notices were logged during updates.
 - ✅ Plugin file/directory counts matched those of direct installation via
 WP-CLI.
 - ✅ The `content/temp-backup/plugins/` directory was clean after updates
 completed (Chassis uses `content/` instead of `wp-content/`).
 - ✅ After update, plugins could be activated successfully with no errors
 logged.

 === Supplemental Artifacts
 - Please refer to
 [https://gist.github.com/ironprogrammer/b774dacbe3b9fa363769bfc59a25cb4f
 this gist] for the scripts used to force old versions and count plugin
 files/directories, as well as file count results.

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


More information about the wp-trac mailing list