[wp-trac] [WordPress Trac] #55711: Check that set_time_limit() function is available before using it in core

WordPress Trac noreply at wordpress.org
Thu Feb 2 22:03:43 UTC 2023


#55711: Check that set_time_limit() function is available before using it in core
--------------------------------+-----------------------------
 Reporter:  theode              |       Owner:  SergeyBiryukov
     Type:  enhancement         |      Status:  accepted
 Priority:  normal              |   Milestone:  6.2
Component:  General             |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  php8 needs-refresh  |     Focuses:  administration
--------------------------------+-----------------------------

Comment (by azaozz):

 Replying to [comment:21 SergeyBiryukov]:

 > Doing the same for `set_time_limit()` seems like a good first step here.

 +1

 Also wondering how many actual cases of disabled `set_time_limit()` exist
 "in the wild"? Seems this function has been used in WP for many years. If
 it was disabled and throwing fatal errors, there would have been a lot of
 reports about it, right?

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


More information about the wp-trac mailing list