// @codeCoverageIgnoreEnd
echo gallery_shortcode( $shortcode_atts );
} /**
* Loads the required media files for the media manager and scripts for media widgets.
*
* @since 4.9.0
*/
public function enqueue_admin_scripts() { parent::
enqueue_admin_scripts();
$handle = 'media-gallery-widget';
wp_enqueue_script( $handle );
$exported_schema = array
();
foreach ( $this->
get_instance_schema() as $field =>
$field_schema ) { $exported_schema[ $field ] =
wp_array_slice_assoc( $field_schema, array
( 'type', 'default', 'enum', 'minimum', 'format', 'media_prop', 'should_preview_update', 'items'
) );
} wp_add_inline_script( $handle,
sprintf(