Make WordPress Core


Ignore:
Timestamp:
07/09/2023 08:05:43 PM (17 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.

Follow-up to [56174], [56175].

Props costdev, audrasjb.
See #58459.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/update-core.php

    r56088 r56176  
    12301230    apply_filters( 'update_feedback', __( 'Preparing to install the latest version…' ) );
    12311231
    1232     // Don't copy wp-content, we'll deal with that below.
    1233     // We also copy version.php last so failed updates report their old version.
     1232    /*
     1233     * Don't copy wp-content, we'll deal with that below.
     1234     * We also copy version.php last so failed updates report their old version.
     1235     */
    12341236    $skip              = array( 'wp-content', 'wp-includes/version.php' );
    12351237    $check_is_writable = array();
     
    13981400        }
    13991401
    1400         // If we don't have enough free space, it isn't worth trying again.
    1401         // Unlikely to be hit due to the check in unzip_file().
     1402        /*
     1403         * If we don't have enough free space, it isn't worth trying again.
     1404         * Unlikely to be hit due to the check in unzip_file().
     1405         */
    14021406        $available_space = function_exists( 'disk_free_space' ) ? @disk_free_space( ABSPATH ) : false;
    14031407
     
    14171421    }
    14181422
    1419     // Custom content directory needs updating now.
    1420     // Copy languages.
     1423    /*
     1424     * Custom content directory needs updating now.
     1425     * Copy languages.
     1426     */
    14211427    if ( ! is_wp_error( $result ) && $wp_filesystem->is_dir( $from . $distro . 'wp-content/languages' ) ) {
    14221428        if ( WP_LANG_DIR !== ABSPATH . WPINC . '/languages' || @is_dir( WP_LANG_DIR ) ) {
     
    14561462    $wp_filesystem->delete( $maintenance_file );
    14571463
    1458     // 3.5 -> 3.5+ - an empty twentytwelve directory was created upon upgrade to 3.5 for some users,
    1459     // preventing installation of Twenty Twelve.
     1464    /*
     1465     * 3.5 -> 3.5+ - an empty twentytwelve directory was created upon upgrade to 3.5 for some users,
     1466     * preventing installation of Twenty Twelve.
     1467     */
    14601468    if ( '3.5' === $old_wp_version ) {
    14611469        if ( is_dir( WP_CONTENT_DIR . '/themes/twentytwelve' )
Note: See TracChangeset for help on using the changeset viewer.