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/update-core.php

    r59182 r59291  
    971971    global $wp_filesystem, $_old_files, $_old_requests_files, $_new_bundled_files, $wpdb;
    972972
     973    /*
     974     * Give core update script an additional 300 seconds (5 minutes)
     975     * to finish updating large files when running on slower servers.
     976     */
    973977    if ( function_exists( 'set_time_limit' ) ) {
    974         // Gives core update script time an additional 300 seconds(5 minutes) to finish updating large files or run on slower servers.
    975978        set_time_limit( 300 );
    976979    }
Note: See TracChangeset for help on using the changeset viewer.