WordPress.org

Make WordPress Core

Changeset 24161


Ignore:
Timestamp:
05/02/2013 10:07:37 PM (7 years ago)
Author:
ryan
Message:

Respect the link to setting when inserting a gallery.

Props SergeyBiryukov
fixes #23298

Location:
trunk/wp-includes
Files:
2 edited

Legend:

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

    r24087 r24161  
    260260                captiontag: 'dd',
    261261                columns:    '3',
     262                link:       'post',
    262263                size:       'thumbnail',
    263264                orderby:    'menu_order ID'
  • trunk/wp-includes/media-template.php

    r23262 r24161  
    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.