[wp-trac] [WordPress Trac] #58193: Introduce `WP_Theme_JSON::prepend_to_selector()` in favor of parameter to conditionally modify `append_to_selector()` behavior
WordPress Trac
noreply at wordpress.org
Tue May 2 22:01:27 UTC 2023
#58193: Introduce `WP_Theme_JSON::prepend_to_selector()` in favor of parameter to
conditionally modify `append_to_selector()` behavior
-----------------------------------+------------------------------
Reporter: flixos90 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 5.8
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses: performance
-----------------------------------+------------------------------
Comment (by flixos90):
@spacedmonkey This doesn't result in a visible performance improvement,
it's more about the code pattern used.
Note that I opened this as a Gutenberg enhancement now in
https://github.com/WordPress/gutenberg/pull/50266, we should treat that as
source of truth.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58193#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list