git-svn-id: http://core.svn.wordpress.org/trunk@22671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
479d27013a
commit
549b5f61ae
|
@ -1354,6 +1354,7 @@
|
||||||
model: display[ single.cid ],
|
model: display[ single.cid ],
|
||||||
sizes: single.get('sizes'),
|
sizes: single.get('sizes'),
|
||||||
priority: 160,
|
priority: 160,
|
||||||
|
type: single.get('type'),
|
||||||
userSettings: state.get('displayUserSettings')
|
userSettings: state.get('displayUserSettings')
|
||||||
}).render()
|
}).render()
|
||||||
}, options );
|
}, options );
|
||||||
|
|
|
@ -1548,6 +1548,7 @@ function wp_print_media_templates( $attachment ) {
|
||||||
<script type="text/html" id="tmpl-attachment-display-settings">
|
<script type="text/html" id="tmpl-attachment-display-settings">
|
||||||
<h3><?php _e('Attachment Display Settings'); ?></h3>
|
<h3><?php _e('Attachment Display Settings'); ?></h3>
|
||||||
|
|
||||||
|
<# if ( 'image' === data.type ) { #>
|
||||||
<label class="setting">
|
<label class="setting">
|
||||||
<span><?php _e('Alignment'); ?></span>
|
<span><?php _e('Alignment'); ?></span>
|
||||||
<select class="alignment"
|
<select class="alignment"
|
||||||
|
@ -1570,6 +1571,7 @@ function wp_print_media_templates( $attachment ) {
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</label>
|
</label>
|
||||||
|
<# } #>
|
||||||
|
|
||||||
<div class="setting">
|
<div class="setting">
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue