mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
The method attempted to check if there is already a file with the same name, however the conditional used an undefined variable. This commit prevents directory creation if a file or directory with the same name already exists, bringing consistency with the PHP `mkdir()` implementation. Includes adding missing documentation for the method. Reference: [https://www.php.net/manual/en/streamwrapper.mkdir.php PHP Manual: streamWrapper::mkdir()]. Follow-up to [49230]. Props david.binda, sadizaman, rajinsharwar, SergeyBiryukov. Fixes #59406. git-svn-id: https://develop.svn.wordpress.org/trunk@56998 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| factory | ||
| phpunit6 | ||
| abstract-testcase.php | ||
| bootstrap.php | ||
| class-basic-object.php | ||
| class-basic-subclass.php | ||
| class-jsonserializable-object.php | ||
| class-wp-fake-block-type.php | ||
| class-wp-rest-test-configurable-controller.php | ||
| class-wp-rest-test-search-handler.php | ||
| class-wp-sitemaps-empty-test-provider.php | ||
| class-wp-sitemaps-large-test-provider.php | ||
| class-wp-sitemaps-test-provider.php | ||
| class-wp-test-stream.php | ||
| exceptions.php | ||
| factory.php | ||
| functions.php | ||
| install.php | ||
| mock-fs.php | ||
| mock-image-editor.php | ||
| mock-invokable.php | ||
| mock-mailer.php | ||
| normalize-xml.xsl | ||
| object-cache.php | ||
| phpunit-adapter-testcase.php | ||
| plural-form-function.php | ||
| spy-rest-server.php | ||
| testcase-ajax.php | ||
| testcase-canonical.php | ||
| testcase-rest-api.php | ||
| testcase-rest-controller.php | ||
| testcase-rest-post-type-controller.php | ||
| testcase-xml.php | ||
| testcase-xmlrpc.php | ||
| testcase.php | ||
| trac.php | ||
| unregister-blocks-hooks.php | ||
| utils.php | ||
| wp-profiler.php | ||