Respect the link to setting when inserting a gallery.

Props SergeyBiryukov
fixes #23298


git-svn-id: https://develop.svn.wordpress.org/trunk@24161 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2013-05-02 22:07:37 +00:00
parent e3d41d52ac
commit f5c165c23f
2 changed files with 5 additions and 4 deletions

View File

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

View File

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