[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
Thu Mar 11 13:09:00 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:
-----------------------------+---------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 5.8


Comment:

 Thanks for the report!

 > Is it still necessary to call `upgrade_422_remove_genericons()`?

 Just noting that this was a security fix added in [32386], see the
 [https://wordpress.org/news/2015/05/wordpress-4-2-2/ WordPress 4.2.2
 release post] for more details.

 So I would say the function is still needed, we should be able to adjust
 it to skip `node_modules` directories though.

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


More information about the wp-trac mailing list