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

WordPress Trac noreply at wordpress.org
Tue Feb 7 13:27:01 UTC 2023


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

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55258" 55258]:
 {{{
 #!CommitTicketReference repository="" revision="55258"
 General: Check that `set_time_limit()` function is available before using
 it in core.

 This avoids a fatal error if the function is disabled on certain
 environments.

 Props theode, jokerrs, johnbillion, hellofromTonya, costdev, jrf, azaozz,
 SergeyBiryukov.
 Fixes #55711.
 }}}

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


More information about the wp-trac mailing list