Make WordPress Core

Changeset 50798 for trunk


Ignore:
Timestamp:
04/29/2021 10:10:38 AM (3 years ago)
Author:
gziolo
Message:

Editor: Fix typo in image default size setting

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

Props mamaduka.
See #52920.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/block-editor.php

    r50777 r50798  
    190190
    191191    $default_size       = get_option( 'image_default_size', 'large' );
    192     $image_default_size = in_array( $default_size, array_keys( $image_size_names ), true ) ? $image_default_size : 'large';
     192    $image_default_size = in_array( $default_size, array_keys( $image_size_names ), true ) ? $default_size : 'large';
    193193
    194194    $image_dimensions = array();
Note: See TracChangeset for help on using the changeset viewer.