Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55711, comment 3


Ignore:
Timestamp:
05/11/2022 04:07:51 PM (3 years ago)
Author:
johnbillion
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55711, comment 3

    initial v1  
    1 I believe that @-suppressing this call will still cause a fatal with PHP 8 because it no longer suppresses fatal errors. If it's common for hosts to disable this function then the calls need to be wrapped with `function_exists( 'set_time_limit' )`. I know WooCommerce for example wraps this in its `wc_set_time_limit()` function.
     1I believe that `@`-suppressing this call will still cause a fatal with PHP 8 because it no longer suppresses fatal errors. If it's common for hosts to disable this function then the calls need to be wrapped with `function_exists( 'set_time_limit' )`. I know WooCommerce for example wraps this in its `wc_set_time_limit()` function.