Respect the link to setting when inserting a gallery.

Props SergeyBiryukov
fixes #23298


git-svn-id: http://core.svn.wordpress.org/trunk@24161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan Boren 2013-05-02 22:07:37 +00:00
parent ac0e0c2112
commit 849765385b
2 changed files with 5 additions and 4 deletions

View File

@ -259,6 +259,7 @@
icontag: 'dt', icontag: 'dt',
captiontag: 'dd', captiontag: 'dd',
columns: '3', columns: '3',
link: 'post',
size: 'thumbnail', size: 'thumbnail',
orderby: 'menu_order ID' orderby: 'menu_order ID'
}, },

View File

@ -347,12 +347,12 @@ function wp_print_media_templates() {
data-user-setting="urlbutton" data-user-setting="urlbutton"
<# } #>> <# } #>>
<option value="file" selected> <option value="post" selected>
<?php esc_attr_e('Media File'); ?>
</option>
<option value="post">
<?php esc_attr_e('Attachment Page'); ?> <?php esc_attr_e('Attachment Page'); ?>
</option> </option>
<option value="file">
<?php esc_attr_e('Media File'); ?>
</option>
</select> </select>
</label> </label>