[wp-trac] [WordPress Trac] #46292: Bump `set_time_limit()` at the start of the update process, instead of mid-way.

WordPress Trac noreply at wordpress.org
Thu Dec 15 21:41:58 UTC 2022


#46292: Bump `set_time_limit()` at the start of the update process, instead of mid-
way.
-----------------------------+------------------------------
 Reporter:  dd32             |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------
Changes (by costdev):

 * Attachment "46292.diff" added.

 Move `set_time_limit()` to before the lock is created, or before the
 package is downloaded. Also change `300` to `5 * MINUTES_IN_SECONDS` for
 consistency elsewhere in Core.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46292>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list