[wp-trac] [WordPress Trac] #57248: Adding a disable_functions test for set_time_limit function.

WordPress Trac noreply at wordpress.org
Thu Dec 1 21:40:26 UTC 2022


#57248: Adding a disable_functions test for set_time_limit function.
--------------------------+--------------------------------------------
 Reporter:  zeleny        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  6.1.1
 Severity:  critical      |  Resolution:  duplicate
 Keywords:  has-patch     |     Focuses:  performance, coding-standards
--------------------------+--------------------------------------------
Changes (by SergeyBiryukov):

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


Comment:

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

 This was previously reported in #55711, and that ticket already has some
 discussion on using `function_exists()` vs. checking `ini_get(
 'disable_functions' )`.

 Personally, I agree that `function_exists()` would be correct here, but
 let's continue in the other ticket to keep the discussion in one place.
 I'll edit the PR description to attach it to that ticket.

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


More information about the wp-trac mailing list