[wp-trac] [WordPress Trac] #59178: Performance optimization of wp_get_block_css_selector()

WordPress Trac noreply at wordpress.org
Thu Aug 24 19:26:37 UTC 2023


#59178: Performance optimization of wp_get_block_css_selector()
-------------------------------------------------+-------------------------
 Reporter:  mukesh27                             |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Editor                               |     Version:  6.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch has-screenshots good-    |     Focuses:
  first-bug                                      |  performance
-------------------------------------------------+-------------------------
Changes (by tabrisrp):

 * keywords:  has-screenshots good-first-bug has-patch => needs-patch has-
     screenshots good-first-bug


Comment:

 I was looking into this and wondering what was the original idea of using
 `array_merge()` to add a single element to the array? This could help
 decide the best approach to improve the performance of the function.

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


More information about the wp-trac mailing list