Changeset 43571 for trunk/src/wp-includes/widgets/class-wp-widget-media.php
- 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.php
r42343 r43571 56 56 public function __construct( $id_base, $name, $widget_options = array(), $control_options = array() ) { 57 57 $widget_opts = wp_parse_args( 58 $widget_options, array( 58 $widget_options, 59 array( 59 60 'description' => __( 'A media item.' ), 60 61 'customize_selective_refresh' => true, … … 81 82 'unsupported_file_type' => __( 'Looks like this isn’t the correct kind of file. Please link to an appropriate file instead.' ), 82 83 ); 83 $this->l10n = array_merge( $l10n_defaults, array_filter( $this->l10n ) );84 $this->l10n = array_merge( $l10n_defaults, array_filter( $this->l10n ) ); 84 85 85 86 parent::__construct( … … 339 340 value="<?php echo esc_attr( is_array( $value ) ? join( ',', $value ) : strval( $value ) ); ?>" 340 341 /> 341 <?php342 <?php 342 343 endforeach; 343 344 }
Note: See TracChangeset
for help on using the changeset viewer.