X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-includes/media-template.php diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index 6999f1bd..8edeb62e 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -136,6 +136,8 @@ function wp_underscore_video_template() { * Prints the templates used in the media manager. * * @since 3.5.0 + * + * @global bool $is_IE */ function wp_print_media_templates() { global $is_IE; @@ -164,7 +166,7 @@ function wp_print_media_templates() { @@ -297,7 +298,7 @@ function wp_print_media_templates() { <# } else if ( 'image' === data.type && data.sizes && data.sizes.full ) { #> <# } else if ( -1 === jQuery.inArray( data.type, [ 'audio', 'video' ] ) ) { #> - + <# } #> <# if ( 'audio' === data.type ) { #> @@ -329,7 +330,7 @@ function wp_print_media_templates() {
<# if ( 'image' === data.type && ! data.uploading && data.sizes && data.can.save ) { #> - + <# } #>
@@ -377,10 +378,12 @@ function wp_print_media_templates() { <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> + + <# if ( 'audio' === data.type ) { #> __( 'Artist' ), @@ -431,12 +434,12 @@ function wp_print_media_templates() { <# if ( ! data.uploading && data.can.remove ) { #> | <# if ( 'trash' === data.status ) { #> - + <# } else { #> - + <# } #> - + <# } #> @@ -467,11 +470,11 @@ function wp_print_media_templates() { <# } #> <# if ( data.buttons.close ) { #> - + <# } #> <# if ( data.buttons.check ) { #> -
+ <# } #> <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; @@ -523,7 +526,6 @@ function wp_print_media_templates() { <# if ( data.can.save && data.sizes ) { #> - <# } #> <# } #> @@ -534,12 +536,12 @@ function wp_print_media_templates() { <# if ( ! data.uploading && data.can.remove ) { #> <# if ( 'trash' === data.status ) { #> - + <# } else { #> - + <# } #> - + <# } #> @@ -556,10 +558,12 @@ function wp_print_media_templates() { <# var maybeReadOnly = data.can.save || data.allowLocalEdits ? '' : 'readonly'; #> + + <# if ( 'audio' === data.type ) { #> __( 'Artist' ), @@ -591,10 +595,10 @@ function wp_print_media_templates() {
<# if ( data.editable ) { #> - + <# } #> <# if ( data.clearable ) { #> - + <# } #>
@@ -987,7 +991,7 @@ function wp_print_media_templates() {
-

+