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.
Built from https://develop.svn.wordpress.org/trunk@59166


git-svn-id: http://core.svn.wordpress.org/trunk@58561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2024-10-04 13:19:17 +00:00
parent 331ebada37
commit 3b57824722
4 changed files with 6 additions and 6 deletions

View File

@ -1247,7 +1247,7 @@ class WP_Debug_Data {
private static function get_wp_mu_plugins(): array { private static function get_wp_mu_plugins(): array {
// List must use plugins if there are any. // List must use plugins if there are any.
$mu_plugins = get_mu_plugins(); $mu_plugins = get_mu_plugins();
$fields = array(); $fields = array();
foreach ( $mu_plugins as $plugin_path => $plugin ) { foreach ( $mu_plugins as $plugin_path => $plugin ) {
$plugin_version = $plugin['Version']; $plugin_version = $plugin['Version'];

View File

@ -992,9 +992,9 @@ function upgrade_110() {
$time_difference = $all_options->time_difference; $time_difference = $all_options->time_difference;
$server_time = time() + gmdate( 'Z' ); $server_time = time() + gmdate( 'Z' );
$weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS; $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS;
$gmt_time = time(); $gmt_time = time();
$diff_gmt_server = ( $gmt_time - $server_time ) / HOUR_IN_SECONDS; $diff_gmt_server = ( $gmt_time - $server_time ) / HOUR_IN_SECONDS;
$diff_weblogger_server = ( $weblogger_time - $server_time ) / HOUR_IN_SECONDS; $diff_weblogger_server = ( $weblogger_time - $server_time ) / HOUR_IN_SECONDS;

View File

@ -2533,7 +2533,7 @@ function build_query_vars_from_query_block( $block, $page ) {
// Add any remaining formats to the formats query. // Add any remaining formats to the formats query.
if ( ! empty( $formats ) ) { if ( ! empty( $formats ) ) {
// Add the `post-format-` prefix. // Add the `post-format-` prefix.
$terms = array_map( $terms = array_map(
static function ( $format ) { static function ( $format ) {
return "post-format-$format"; return "post-format-$format";
}, },

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-beta1-59165'; $wp_version = '6.7-beta1-59166';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.