[wp-trac] [WordPress Trac] #57248: Adding a disable_functions test for set_time_limit function.
WordPress Trac
noreply at wordpress.org
Thu Dec 1 19:03:06 UTC 2022
#57248: Adding a disable_functions test for set_time_limit function.
--------------------------+--------------------------------------------
Reporter: zeleny | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.1.1
Severity: critical | Resolution:
Keywords: has-patch | Focuses: performance, coding-standards
--------------------------+--------------------------------------------
Changes (by zeleny):
* version: trunk => 6.1.1
Comment:
Changed code to
{{{#!php
<?php
if ( strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) !== 0 ) {
set_time_limit($some_time);
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57248#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list