[wp-trac] [WordPress Trac] #49446: cache the results of get_uploaded_header_images()

WordPress Trac noreply at wordpress.org
Tue Oct 14 15:15:05 UTC 2025


#49446: cache the results of get_uploaded_header_images()
-------------------------------------+-------------------------------------
 Reporter:  pbiron                   |       Owner:  pbearne
     Type:  enhancement              |      Status:  reviewing
 Priority:  normal                   |   Milestone:  6.9
Component:  Themes                   |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-unit-      |     Focuses:  administration,
  tests changes-requested            |  performance
-------------------------------------+-------------------------------------
Changes (by westonruter):

 * owner:  SergeyBiryukov => pbearne


Comment:

 Replying to [comment:32 pbearne]:
 > the tree failers seem to only fail when Memcache is active
 > So I do not see these errors in my local dev
 >
 > Do you know a way to run the Memcache tests locally?

 Yes! I just recently learned how to do this. In the wordpress-develop
 environment, all you need to do is add this line to your `.env` file:


 {{{
 LOCAL_PHP_MEMCACHED=true
 }}}

 You can see it has a default value of `false`.

 Then restart the environment and you should have Memcached.

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


More information about the wp-trac mailing list