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/comment.php

    r58962 r59039  
    31173117        if ( $pingback_server_url ) {
    31183118            if ( function_exists( 'set_time_limit' ) ) {
     3119                // Allows an additional 60 seconds for each pingback to complete.
    31193120                set_time_limit( 60 );
    31203121            }
Note: See TracChangeset for help on using the changeset viewer.