[wp-trac] [WordPress Trac] #34359: Cache output of `wp_upload_dir()` to improve performance
WordPress Trac
noreply at wordpress.org
Tue Feb 23 15:57:25 UTC 2016
#34359: Cache output of `wp_upload_dir()` to improve performance
-------------------------------------------+-------------------------------
Reporter: mikeschroder | Owner: azaozz
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.5
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-testing has-patch early | Focuses: multisite,
| performance
-------------------------------------------+-------------------------------
Comment (by azaozz):
In [changeset:"36628"]:
{{{
#!CommitTicketReference repository="" revision="36628"
In `wp_upload_dir()` do not cache error from `wp_mkdir_p()` when a
directory cannot be created. Keep trying to create the dirs. This happens
mostly in file upload context.
See #34359.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34359#comment:56>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list