Use wp_cache_get in gutenberg_get_global_styles_svg_filters.#47460
Use wp_cache_get in gutenberg_get_global_styles_svg_filters.#47460spacedmonkey wants to merge 1 commit into
wp_cache_get in gutenberg_get_global_styles_svg_filters.#47460Conversation
|
Flaky tests detected in 523925b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4015726150
|
|
@spacedmonkey, the improved method isn't used anywhere in the plugin. It might make more sense to apply changes directly in the core. What do you think? |
|
Right, this method needs to be used in Gutenberg, otherwise, how do we test it? :) Take a look at how This also needs testing steps. cc @ajlende for thoughts on what'd be the best to test, as I seem to remember that browsers were a bit funky on this one. |
|
@oandregal I am going to close this out and move this conversion to core. This is not the best place to test this. |
|
PR here WordPress/wordpress-develop#3926 |
What?
Part of #45171
wp_get_global_styles_svg_filters: migrate transient to object cache.Why?
How?
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast