芝麻web文件管理V1.00
编辑当前文件:/var/www/website.cognitioglobal.co/wp-includes/media-template.php
if ( ! _.isUndefined( data.model. ) && data.model. ) { #> <# } #> > <# if ( ! _.isEmpty( data.model.src ) ) { #>
<# } #> <# if ( ! _.isEmpty( data.model. ) ) { #>
<# } #>
<# var w_rule = '', classes = [], w, h, settings = wp.media.view.settings, isYouTube = isVimeo = false; if ( ! _.isEmpty( data.model.src ) ) { isYouTube = data.model.src.match(/youtube|youtu\.be/); isVimeo = -1 !== data.model.src.indexOf('vimeo'); } if ( settings.contentWidth && data.model.width >= settings.contentWidth ) { w = settings.contentWidth; } else { w = data.model.width; } if ( w !== data.model.width ) { h = Math.ceil( ( data.model.height * w ) / data.model.width ); } else { h = data.model.height; } if ( w ) { w_rule = 'width: ' + w + 'px; '; } if ( isYouTube ) { classes.push( 'youtube-video' ); } if ( isVimeo ) { classes.push( 'vimeo-video' ); } #>
width="{{ w }}"<# } #> <# if ( h ) { #>height="{{ h }}"<# } #> '', 'preload' => 'metadata', ); foreach ( $props as $key => $value ) : if ( empty( $value ) ) { ?> <# if ( ! _.isUndefined( data.model. ) && data.model. ) { #> ="{{ data.model. }}"<# } #> ="{{ _.isUndefined( data.model. ) ? '' : data.model. }}" <# if ( ! _.isUndefined( data.model. ) && data.model. ) { #> <# } #> > <# if ( ! _.isEmpty( data.model.src ) ) { if ( isYouTube ) { #>
<# } else if ( isVimeo ) { #>
<# } else { #>
<# } } #> <# if ( data.model. ) { #>
<# } #> {{{ data.model.content }}}
Learn how to describe the purpose of the image%3$s. Leave empty if the image is purely decorative.' ), /* translators: Localized tutorial, if one exists. W3C Web Accessibility Initiative link has list of existing translations. */ esc_url( __( 'https://www.w3.org/WAI/tutorials/images/decision-tree/' ) ), 'target="_blank" rel="noopener"', sprintf( '
%s
', /* translators: Hidden accessibility text. */ __( '(opens in a new tab)' ) ) ); ?>