diff --git a/wp-admin/includes/class-wp-debug-data.php b/wp-admin/includes/class-wp-debug-data.php index d112130ecf..a99a6fb9aa 100644 --- a/wp-admin/includes/class-wp-debug-data.php +++ b/wp-admin/includes/class-wp-debug-data.php @@ -1247,7 +1247,7 @@ class WP_Debug_Data { private static function get_wp_mu_plugins(): array { // List must use plugins if there are any. $mu_plugins = get_mu_plugins(); - $fields = array(); + $fields = array(); foreach ( $mu_plugins as $plugin_path => $plugin ) { $plugin_version = $plugin['Version']; diff --git a/wp-admin/includes/upgrade.php b/wp-admin/includes/upgrade.php index 08d04ae2f1..090a5f1853 100644 --- a/wp-admin/includes/upgrade.php +++ b/wp-admin/includes/upgrade.php @@ -992,9 +992,9 @@ function upgrade_110() { $time_difference = $all_options->time_difference; - $server_time = time() + gmdate( 'Z' ); - $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS; - $gmt_time = time(); + $server_time = time() + gmdate( 'Z' ); + $weblogger_time = $server_time + $time_difference * HOUR_IN_SECONDS; + $gmt_time = time(); $diff_gmt_server = ( $gmt_time - $server_time ) / HOUR_IN_SECONDS; $diff_weblogger_server = ( $weblogger_time - $server_time ) / HOUR_IN_SECONDS; diff --git a/wp-includes/blocks.php b/wp-includes/blocks.php index 34f1d921dd..9d8f4bfaf9 100644 --- a/wp-includes/blocks.php +++ b/wp-includes/blocks.php @@ -2533,7 +2533,7 @@ function build_query_vars_from_query_block( $block, $page ) { // Add any remaining formats to the formats query. if ( ! empty( $formats ) ) { // Add the `post-format-` prefix. - $terms = array_map( + $terms = array_map( static function ( $format ) { return "post-format-$format"; }, diff --git a/wp-includes/version.php b/wp-includes/version.php index 669c5ce45e..b0a8747ffa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.