[wp-trac] [WordPress Trac] #34359: Cache output of `wp_upload_dir()` to improve performance

WordPress Trac noreply at wordpress.org
Wed Nov 11 21:56:14 UTC 2015


#34359: Cache output of `wp_upload_dir()` to improve performance
-------------------------------------------------+-------------------------
 Reporter:  DH-Shredder                          |       Owner:  DH-
     Type:  defect (bug)                         |  Shredder
 Priority:  normal                               |      Status:  assigned
Component:  Media                                |   Milestone:  4.4
 Severity:  normal                               |     Version:
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests                                          |     Focuses:  multisite,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by joemcgill):

 If/when this is committed, we should also remove `
 _wp_upload_dir_baseurl()` from `wp_calculate_image_srcset()` (See #34430).

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


More information about the wp-trac mailing list