You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9dfdf85
Browse filesBrowse the repository at this point in the historyBrowse files
Tests: Clean test uploads before loading WordPress.
Delete the test uploads directory before loading plugins and themes. Calling `wp_upload_dir()` during loading can create and cache the directory; deleting it afterward leaves that cached path missing.
Use PHP filesystem operations before WordPress functions are available, handle Windows directory symlinks, and report directory traversal exceptions.
Follow-up to [65177].
Developed in: #15368
Props oaratovskyi, adrianmoldovanwp.
See #63532.
git-svn-id: https://develop.svn.wordpress.org/trunk@65190 602fd350-edb4-49c9-b593-d223f7449a82
0 commit comments