[wp-trac] [WordPress Trac] #58319: Improve performance of get_block_theme_folders

WordPress Trac noreply at wordpress.org
Mon May 15 17:02:31 UTC 2023


#58319: Improve performance of get_block_theme_folders
--------------------------+------------------------------
 Reporter:  spacedmonkey  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------

Comment (by spacedmonkey):

 @swissspidy I have looked into is_dir. It is faster, but not by much. It
 this still the same code that is 20+ per page and it results in overhead.

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


More information about the wp-trac mailing list