Changeset 49193 for trunk/src/wp-includes/widgets/class-wp-widget-media.php
- Timestamp:
- 10/18/2020 05:25:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-media.php
r49120 r49193 209 209 $tokens = array_map( 'sanitize_html_class', $tokens ); 210 210 $tokens = array_filter( $tokens ); 211 return join( ' ', $tokens );211 return implode( ' ', $tokens ); 212 212 } 213 213 … … 344 344 name="<?php echo esc_attr( $this->get_field_name( $name ) ); ?>" 345 345 id="<?php echo esc_attr( $this->get_field_id( $name ) ); // Needed specifically by wpWidgets.appendTitle(). ?>" 346 value="<?php echo esc_attr( is_array( $value ) ? join( ',', $value ) : (string) $value ); ?>"346 value="<?php echo esc_attr( is_array( $value ) ? implode( ',', $value ) : (string) $value ); ?>" 347 347 /> 348 348 <?php
Note: See TracChangeset
for help on using the changeset viewer.