[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 Apr 25 22:32:09 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):

 cc @oandregal @spacedmonkey for consideration

 This is honestly extremely minor when it comes to performance, but I
 recently ran into this code smell and thought we may want to adjust it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58193#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list