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:
parent
589e89231a
commit
f6f8094b1d
|
@ -189,7 +189,7 @@ function get_default_block_editor_settings() {
|
|||
}
|
||||
|
||||
$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();
|
||||
$all_sizes = wp_get_registered_image_subsizes();
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue