[wp-trac] [WordPress Trac] #58231: Improvements on append_to_selector method
WordPress Trac
noreply at wordpress.org
Mon Jun 12 11:21:13 UTC 2023
#58231: Improvements on append_to_selector method
---------------------------------------+---------------------------
Reporter: spacedmonkey | Owner: spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.3
Component: Editor | Version:
Severity: normal | Resolution: fixed
Keywords: gutenberg-merge has-patch | Focuses: performance
---------------------------------------+---------------------------
Changes (by spacedmonkey):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"55907" 55907]:
{{{
#!CommitTicketReference repository="" revision="55907"
Editor: Improve the append_to_selector method.
Improve `append_to_selector` method in `WP_Theme_JSON` by checking to see
if string contains a common before imploding / exploding string, which
improves performance.
Originally developed and tested in [WordPress/gutenberg#47833 Gutenberg PR
47833].
Props spacedmonkey, flixos90, mukesh27, joemcgill, wildworks, oandregal,
mamaduka.
Fixes #58231.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58231#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list