Make WordPress Core


Ignore:
Timestamp:
10/25/2024 08:24:08 PM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust comments about set_time_limit() per the documentation standards.

Includes splitting long comments into multiple lines and moving a few comments above the function_exists() check for more consistent placement.

Follow-up to [59039], [59288].

See #62281.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader.php

    r59257 r59291  
    526526        $clear_destination = $args['clear_destination'];
    527527
    528         // Give the upgrade an additional 300 seconds(5 minutes) to ensure the install doesn't prematurely timeout having used up the maximum script execution time upacking and downloading in WP_Upgrader->run.
     528        /*
     529         * Give the upgrade an additional 300 seconds (5 minutes) to ensure the install
     530         * doesn't prematurely timeout having used up the maximum script execution time
     531         * upacking and downloading in WP_Upgrader->run().
     532         */
    529533        if ( function_exists( 'set_time_limit' ) ) {
    530534            set_time_limit( 300 );
Note: See TracChangeset for help on using the changeset viewer.