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
This commit is contained in:
parent
09f22e5b24
commit
5090761b4f
|
@ -223,7 +223,7 @@ if ( ! class_exists( 'TwentyTwenty_SVG_Icons' ) ) {
|
|||
'twitch' => array(
|
||||
'twitch.tv',
|
||||
),
|
||||
'whatsapp' => array(
|
||||
'whatsapp' => array(
|
||||
'wa.me',
|
||||
'whatsapp.com',
|
||||
),
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ) ) );
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue