[wp-trac] [WordPress Trac] #57568: Improve caching in `wp_get_global_styles_svg_filters`

WordPress Trac noreply at wordpress.org
Fri Jan 27 14:50:47 UTC 2023


#57568: Improve caching in `wp_get_global_styles_svg_filters`
--------------------------+----------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Future Release
Component:  Editor        |    Version:  5.9.1
 Severity:  normal        |   Keywords:
  Focuses:  performance   |
--------------------------+----------------------------
 Follow on from #56910 ( and [55148])

 From  #56910

 > Originally this ticket also covered the wp_get_global_styles_svg_filters
 function which is subject to a similar change, but since that is a
 separate effort it makes sense to break it out in a separate ticket.

 Change the `wp_get_global_styles_svg_filters` function to use object
 caching over transients. This brings the code inline with
 `wp_get_global_stylesheet`.

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


More information about the wp-trac mailing list