[wp-trac] [WordPress Trac] #36621: Don't cache the results of wp_mkdir_p() in a persistent cache

WordPress Trac noreply at wordpress.org
Thu Apr 21 15:05:33 UTC 2016


#36621: Don't cache the results of wp_mkdir_p() in a persistent cache
--------------------------+-------------------------
 Reporter:  barry         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.5.1
Component:  Media         |    Version:  4.5
 Severity:  major         |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-------------------------
 Follow-up to #34359.

 This broke things on WordPress.com and elsewhere. I don't think it's safe
 to cache the results of {{{ wp_mkdir_p()}}} in a persistent cache, but
 caching it non-persistently seems fine.   I think we need to go back to
 the approach in
 https://core.trac.wordpress.org/attachment/ticket/34359/34359.3.patch,
 storing the results in a non-persistent cache.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36621>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list