From 5090761b4f4d86579107fea8b2590a86ef13ba79 Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 30 Aug 2021 14:09:58 +0000 Subject: [PATCH] Coding Standards: Apply some minor alignment fixes. These are updates caused by running `composer format`. Follow up to [51501], [51599], [51618], [51653]. See #53359, #50542, #53238, #53668, #53690. Built from https://develop.svn.wordpress.org/trunk@51693 git-svn-id: http://core.svn.wordpress.org/trunk@51299 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentytwenty/classes/class-twentytwenty-svg-icons.php | 2 +- wp-includes/class-wp-theme-json-resolver.php | 2 +- wp-includes/functions.php | 2 +- .../rest-api/endpoints/class-wp-rest-block-types-controller.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php b/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php index d735037543..714b3a1454 100644 --- a/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php +++ b/wp-content/themes/twentytwenty/classes/class-twentytwenty-svg-icons.php @@ -223,7 +223,7 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) { 'twitch' => array( 'twitch.tv', ), - 'whatsapp' => array( + 'whatsapp' => array( 'wa.me', 'whatsapp.com', ), diff --git a/wp-includes/class-wp-theme-json-resolver.php b/wp-includes/class-wp-theme-json-resolver.php index 0e5a92698a..47427c27e3 100644 --- a/wp-includes/class-wp-theme-json-resolver.php +++ b/wp-includes/class-wp-theme-json-resolver.php @@ -93,7 +93,7 @@ class WP_Theme_JSON_Resolver { */ private static function translate( $theme_json, $domain = 'default' ) { if ( null === self::$i18n_schema ) { - $i18n_schema = wp_json_file_decode( __DIR__ . '/theme-i18n.json' ); + $i18n_schema = wp_json_file_decode( __DIR__ . '/theme-i18n.json' ); self::$i18n_schema = null === $i18n_schema ? array() : $i18n_schema; } diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 02d74e1b70..e49a5720a3 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -2628,7 +2628,7 @@ function wp_unique_filename( $dir, $filename, $unique_filename_callback = null ) $alt_mime_type = $output_formats[ $mime_type ]; // Other types of images whose names may conflict if their sub-sizes are regenerated. - $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) ); + $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type, $alt_mime_type ) ) ); $alt_types[] = $alt_mime_type; } elseif ( ! empty( $output_formats ) ) { $alt_types = array_keys( array_intersect( $output_formats, array( $mime_type ) ) ); diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php index 4a1c07764b..44d91449d6 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php @@ -524,7 +524,7 @@ class WP_REST_Block_Types_Controller extends WP_REST_Controller { 'context' => array( 'embed', 'view', 'edit' ), 'readonly' => true, ), - 'view_script' => array( + 'view_script' => array( 'description' => __( 'Public facing script handle.' ), 'type' => array( 'string', 'null' ), 'default' => null, diff --git a/wp-includes/version.php b/wp-includes/version.php index 022527b8cf..6caf5af09a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51692'; +$wp_version = '5.9-alpha-51693'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.