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

WordPress Trac noreply at wordpress.org
Tue Nov 10 12:23:56 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 imath):

 Replying to [comment:11 azaozz]:
 > More testing especially on older multisite installs and with plugins
 like BuddyPress will be very appreciated.


 Hi @azaozz

 Just tested your patch with BuddyPress trunk :
 - regular WordPress
 - WordPress Multisite (having BuddyPress activated on the network or not)
 - I've also run the BuddyPress phpunit testsuite regular/multisite.

 All tests are ok and everything seems to work fine for BuddyPress uploads
 (avatars & cover images).

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


More information about the wp-trac mailing list