Ticket #45083: 45083.patch
| File 45083.patch, 716 bytes (added by , 7 years ago) |
|---|
-
src/wp-includes/widgets/class-wp-widget-media-image.php
67 67 'size' => array( 68 68 'type' => 'string', 69 69 'enum' => array_merge( get_intermediate_image_sizes(), array( 'full', 'custom' ) ), 70 'default' => 'medium',70 'default' => get_option( 'image_default_size', 'medium' ), 71 71 'description' => __( 'Size' ), 72 72 ), 73 73 'width' => array( // Via 'customWidth', only when size=custom; otherwise via 'width'.