Make WordPress Core


Ignore:
Timestamp:
07/09/2023 07:50:52 PM (22 months ago)
Author:
audrasjb
Message:

Docs: Replace multiple single line comments with multi-line comments.

This changeset updates various comments as per WordPress PHP Inline Documentation Standards.
See https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#5-inline-comments.

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

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

    r56079 r56174  
    16201620        }
    16211621
    1622         // The max_execution_time defaults to 0 when PHP runs from cli.
    1623         // We still want to limit it below.
     1622        /*
     1623         * The max_execution_time defaults to 0 when PHP runs from cli.
     1624         * We still want to limit it below.
     1625         */
    16241626        if ( empty( $max_execution_time ) ) {
    16251627            $max_execution_time = 30; // 30 seconds.
     
    16271629
    16281630        if ( $max_execution_time > 20 ) {
    1629             // If the max_execution_time is set to lower than 20 seconds, reduce it a bit to prevent
    1630             // edge-case timeouts that may happen after the size loop has finished running.
     1631            /*
     1632             * If the max_execution_time is set to lower than 20 seconds, reduce it a bit to prevent
     1633             * edge-case timeouts that may happen after the size loop has finished running.
     1634             */
    16311635            $max_execution_time -= 2;
    16321636        }
    16331637
    1634         // Go through the various installation directories and calculate their sizes.
    1635         // No trailing slashes.
     1638        /*
     1639         * Go through the various installation directories and calculate their sizes.
     1640         * No trailing slashes.
     1641         */
    16361642        $paths = array(
    16371643            'wordpress_size' => untrailingslashit( ABSPATH ),
Note: See TracChangeset for help on using the changeset viewer.