[wp-trac] [WordPress Trac] #52765: Fatal error: Maximum execution time exceeded in _upgrade_422_find_genericons_files_in_folder()

WordPress Trac noreply at wordpress.org
Tue Mar 16 18:54:01 UTC 2021


#52765: Fatal error: Maximum execution time exceeded in
_upgrade_422_find_genericons_files_in_folder()
-----------------------------+---------------------
 Reporter:  bobbingwide      |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  5.8
Component:  Upgrade/Install  |     Version:
 Severity:  minor            |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+---------------------

Comment (by afragen):

 Perhaps https://www.phparch.com/2010/04/putting-glob-to-the-test/ may lend
 some ideas for improvement.

 It seems the issue may be
 {{{
 $dirs = glob( $directory . '*', GLOB_ONLYDIR );
 }}}

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


More information about the wp-trac mailing list