[wp-trac] [WordPress Trac] #49014: Silence set_time_limit() call in wp-admin/includes/class-wp-upgrader.php (was: functions.php open_basedir)

WordPress Trac noreply at wordpress.org
Fri Dec 20 02:32:11 UTC 2019


#49014: Silence set_time_limit() call in wp-admin/includes/class-wp-upgrader.php
-----------------------------+------------------------------
 Reporter:  autotutorial     |       Owner:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:
 Severity:  trivial          |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+------------------------------
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  duplicate =>
 * milestone:   => Awaiting Review


Comment:

 Replying to [comment:2 autotutorial]:
 > Notice: set_time_limit() has been disabled for security reasons in
 /home/user/wp-admin/includes/class-wp-upgrader.php on line 468
 > Hi thanks for the welcome, the set_time_limit notice must be silenced.

 Reopening to address that.

 The silence operator was removed in [45611/trunk/src/wp-admin/includes
 /class-wp-upgrader.php].

 Just noting there are at least 6 instances of `set_time_limit()` in
 WordPress core (not counting external libraries), only one of which is
 silenced (in `wp_get_http()`).

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


More information about the wp-trac mailing list