- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media-image.php
r42827 r43571 24 24 public function __construct() { 25 25 parent::__construct( 26 'media_image', __( 'Image' ), array( 26 'media_image', 27 __( 'Image' ), 28 array( 27 29 'description' => __( 'Displays an image.' ), 28 30 'mime_type' => 'image', … … 31 33 32 34 $this->l10n = array_merge( 33 $this->l10n, array( 35 $this->l10n, 36 array( 34 37 'no_media_selected' => __( 'No image selected' ), 35 38 'add_media' => _x( 'Add Image', 'label for button in the image widget' ), … … 174 177 $instance = array_merge( wp_list_pluck( $this->get_instance_schema(), 'default' ), $instance ); 175 178 $instance = wp_parse_args( 176 $instance, array( 179 $instance, 180 array( 177 181 'size' => 'thumbnail', 178 182 ) … … 271 275 'width' => $width, 272 276 'caption' => $caption, 273 ), $image 277 ), 278 $image 274 279 ); 275 280 }
Note: See TracChangeset
for help on using the changeset viewer.