[wp-trac] [WordPress Trac] #58457: Optimize `WP_Theme_JSON::append_to_selector`

WordPress Trac noreply at wordpress.org
Tue Jun 20 15:58:42 UTC 2023


#58457: Optimize `WP_Theme_JSON::append_to_selector`
-------------------------+--------------------------
 Reporter:  bor0         |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  6.3
Component:  General      |     Version:  trunk
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------

Comment (by flixos90):

 @bor0 Thanks for opening this ticket, I hadn't seen it until now. Note
 that my PR https://github.com/WordPress/wordpress-develop/pull/4380
 optimizes the logic around `append_to_selector()` in a way that no
 conditions will be needed anymore at all. So if we commit that, we can
 probably close this ticket here as well.

 Also see #58193.

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


More information about the wp-trac mailing list