[wp-trac] [WordPress Trac] #61858: Background images: resolve ref and ensure appropriate default values
WordPress Trac
noreply at wordpress.org
Thu Oct 10 21:05:21 UTC 2024
#61858: Background images: resolve ref and ensure appropriate default values
---------------------------------------+--------------------------
Reporter: ramonopoly | Owner: ramonopoly
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Themes | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch gutenberg-merge | Focuses: performance
---------------------------------------+--------------------------
Changes (by flixos90):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"59213" 59213]:
{{{
#!CommitTicketReference repository="" revision="59213"
Themes: Improve performance of applying background image styles in
`theme.json`.
The cost of using `WP_Theme_JSON::get_block_nodes()` for this in its
original shape was high enough to lead to a performance regression.
Therefore this changeset introduces a new option on the method that allows
to bypass all logic except for retrieving the node paths, which is much
faster and everything that this functionality needs.
Follow up to [58936].
Props mukesh27, flixos90, ramonopoly, joemcgill, andrewserong, swissspidy.
Fixes #61858.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61858#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list