Make WordPress Core


Ignore:
Timestamp:
09/17/2024 10:39:58 PM (9 months ago)
Author:
jorbin
Message:

Bootstrap/Load: Ensure uses of set_time_limit are documented why.

set_time_limit can cause unexpected behavior so it general should be avoided. There are instances though where they should be used so those instances should be properly documented.

Props Rcrayno, ryan, kurtpayne, jorbin.
Fixes #21521. See #19487.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/deprecated.php

    r58975 r59039  
    36743674    _deprecated_function( __FUNCTION__, '4.4.0', 'WP_Http' );
    36753675
     3676    // Adds an additional 60 seconds to the script timeout to ensure the remote request has enough time.
    36763677    if ( function_exists( 'set_time_limit' ) ) {
    36773678        @set_time_limit( 60 );
Note: See TracChangeset for help on using the changeset viewer.