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

WordPress Trac noreply at wordpress.org
Tue Feb 7 18:05:26 UTC 2023


#57659: Check the function set_time_limit() exist before calling
--------------------------+------------------------------
 Reporter:  mujuonly      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Hi there, welcome back to WordPress Trac! Thanks for the ticket.

 I considered including this change in [55258] / #55711. Technically,
 `class-pop3.php` is an "adopted" library with
 [https://core.trac.wordpress.org/log/trunk/src/wp-includes/class-pop3.php
 some changes over the years], mostly PHP compatibility adjustments and
 typo fixes.

 Since it's not actively supported and it was not immediately clear to me
 whether this code is ever executed in core, I chose not to include this
 file in [55258] at the time, though I don't have any objections to making
 this change. Curious to see what others think :)

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


More information about the wp-trac mailing list