Don't display the "Show Artist Name in Tracklist" input in settings for Video Playlists.

See #27535.



git-svn-id: https://develop.svn.wordpress.org/trunk@27751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2014-03-26 22:11:06 +00:00
parent 6a7038062f
commit 61228a9c0f
1 changed files with 2 additions and 0 deletions

View File

@ -561,12 +561,14 @@ function wp_print_media_templates() {
<span><?php _e( 'Show Track Numbers' ); ?></span> <span><?php _e( 'Show Track Numbers' ); ?></span>
</label> </label>
<# if ( playlist ) { #>
<label class="setting"> <label class="setting">
<input type="checkbox" data-setting="artists" <# if ( playlist && emptyModel ) { #> <input type="checkbox" data-setting="artists" <# if ( playlist && emptyModel ) { #>
checked="checked" checked="checked"
<# } #> /> <# } #> />
<span><?php _e( 'Show Artist Name in Tracklist' ); ?></span> <span><?php _e( 'Show Artist Name in Tracklist' ); ?></span>
</label> </label>
<# } #>
<label class="setting"> <label class="setting">
<input type="checkbox" data-setting="images" <# if ( emptyModel ) { #> <input type="checkbox" data-setting="images" <# if ( emptyModel ) { #>