Make WordPress Core

Changeset 59166


Ignore:
Timestamp:
10/04/2024 01:17:35 PM (17 months ago)
Author:
desrosj
Message:

Coding Standards: Committing changes after composer format.

This commits some minor changes made when running composer format.

Follow up to [58975], [59011], [59115].
See #61103, #62014, #61648.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r59164 r59166  
    12481248        // List must use plugins if there are any.
    12491249        $mu_plugins = get_mu_plugins();
    1250         $fields = array();
     1250        $fields     = array();
    12511251
    12521252        foreach ( $mu_plugins as $plugin_path => $plugin ) {
  • trunk/src/wp-admin/includes/upgrade.php

    r58994 r59166  
    993993    $time_difference = $all_options->time_difference;
    994994
    995     $server_time     = time() + gmdate( 'Z' );
    996     $weblogger_time  = $server_time + $time_difference * HOUR_IN_SECONDS;
    997     $gmt_time        = time();
     995    $server_time    = time() + gmdate( 'Z' );
     996    $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS;
     997    $gmt_time       = time();
    998998
    999999    $diff_gmt_server       = ( $gmt_time - $server_time ) / HOUR_IN_SECONDS;
  • trunk/src/wp-includes/blocks.php

    r59132 r59166  
    25342534            if ( ! empty( $formats ) ) {
    25352535                // Add the `post-format-` prefix.
    2536                 $terms = array_map(
     2536                $terms           = array_map(
    25372537                    static function ( $format ) {
    25382538                        return "post-format-$format";
Note: See TracChangeset for help on using the changeset viewer.