[wp-trac] [WordPress Trac] #58380: Setting time limit for updates doesn't always work.

WordPress Trac noreply at wordpress.org
Mon Sep 18 19:22:52 UTC 2023


#58380: Setting time limit for updates doesn't always work.
-------------------------------------------------+-------------------------
 Reporter:  NekoJonez                            |       Owner:  pbiron
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  6.5
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-dev-note 2nd-opinion needs-    |     Focuses:
  patch                                          |
-------------------------------------------------+-------------------------
Changes (by oglekler):

 * milestone:  6.4 => 6.5


Comment:

 Notes from a Slack conversation (link above) from @costdev:
 {{{
 Noting Olga's comment regarding whether max_execution_time can be
 overridden, the answer is: Yes, but not in safe mode
 9:21
 Although this is usually done via set_time_limit() rather than ini_set(
 'max_execution_time', '123' )
 9:21
 At the moment, I still think that our current options are those mentioned
 in comment 11
 9:23
 My (begrudged) preference is still to suppress set_time_limit() warnings
 throughout Core, possibly doing so conditionally based on WP_DEBUG.
 }}}

 There is no patch and no time before Beta 1 to make and test one, so, I am
 moving this ticket into the 6.5 milestone.

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


More information about the wp-trac mailing list