[wp-trac] [WordPress Trac] #59441: Use instanceof in block_has_support

WordPress Trac noreply at wordpress.org
Mon Sep 25 11:14:15 UTC 2023


#59441: Use instanceof in block_has_support
--------------------------+--------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.4
Component:  Editor        |     Version:  5.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  performance
--------------------------+--------------------------

Comment (by spacedmonkey):

 Example profile that saves around 4ms which is around 2.5% of server time.

 https://blackfire.io/profiles/compare/c13c320b-88ec-43bf-a5fb-
 6d5902cda78e/graph

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


More information about the wp-trac mailing list