[wp-trac] [WordPress Trac] #57659: Check the function set_time_limit() exist before calling

WordPress Trac noreply at wordpress.org
Sat Feb 11 12:41:50 UTC 2023


#57659: Check the function set_time_limit() exist before calling
--------------------------+-----------------------------
 Reporter:  mujuonly      |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  6.2
Component:  Mail          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55305" 55305]:
 {{{
 #!CommitTicketReference repository="" revision="55305"
 Mail: Check that `set_time_limit()` function is available before using it
 in `class-pop3.php`.

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

 Follow-up to [55258].

 Props mujuonly.
 Fixes #57659.
 }}}

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


More information about the wp-trac mailing list