Editor: Fix typo in image default size setting

Related change in Gutneberg: https://github.com/WordPress/gutenberg/pull/31324

Props mamaduka.
See #52920.


Built from https://develop.svn.wordpress.org/trunk@50798


git-svn-id: http://core.svn.wordpress.org/trunk@50407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
gziolo 2021-04-29 10:12:05 +00:00
parent 589e89231a
commit f6f8094b1d
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ function get_default_block_editor_settings() {
} }
$default_size = get_option( 'image_default_size', 'large' ); $default_size = get_option( 'image_default_size', 'large' );
$image_default_size = in_array( $default_size, array_keys( $image_size_names ), true ) ? $image_default_size : 'large'; $image_default_size = in_array( $default_size, array_keys( $image_size_names ), true ) ? $default_size : 'large';
$image_dimensions = array(); $image_dimensions = array();
$all_sizes = wp_get_registered_image_subsizes(); $all_sizes = wp_get_registered_image_subsizes();

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.8-alpha-50797'; $wp_version = '5.8-alpha-50798';
/** /**
* 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.