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',
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>