Make WordPress Core

Changeset 24162


Ignore:
Timestamp:
05/02/2013 10:08:33 PM (12 years ago)
Author:
ryan
Message:

Respect the link to setting when inserting a gallery.

Props SergeyBiryukov
fixes #23298 for 3.5

Location:
branches/3.5/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-includes/js/media-editor.js

    r23299 r24162  
    171171                captiontag: 'dd',
    172172                columns:    '3',
     173                link:       'post',
    173174                size:       'thumbnail',
    174175                orderby:    'menu_order ID'
  • branches/3.5/wp-includes/media-template.php

    r23273 r24162  
    348348                <# } #>>
    349349
    350                 <option value="file" selected>
     350                <option value="post" selected>
     351                    <?php esc_attr_e('Attachment Page'); ?>
     352                </option>
     353                <option value="file">
    351354                    <?php esc_attr_e('Media File'); ?>
    352                 </option>
    353                 <option value="post">
    354                     <?php esc_attr_e('Attachment Page'); ?>
    355355                </option>
    356356            </select>
Note: See TracChangeset for help on using the changeset viewer.