WordPress.org

Make WordPress Core

Changeset 22714


Ignore:
Timestamp:
11/20/2012 02:33:48 PM (8 years ago)
Author:
koopersmith
Message:

Media: Correctly fetch the default post ID when editing a gallery. see #21390.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/media-upload.js

    r22713 r22714  
    299299            edit: function( content ) {
    300300                var shortcode = wp.shortcode.next( 'gallery', content ),
    301                     defaultPostId = wp.media.gallery.defaults.postId,
     301                    defaultPostId = wp.media.gallery.defaults.id,
    302302                    attachments, selection;
    303303
Note: See TracChangeset for help on using the changeset viewer.