WordPress.org

Make WordPress Core

Changeset 23248


Ignore:
Timestamp:
01/03/13 06:15:06 (3 years ago)
Author:
nacin
Message:

Don't include the default columns="3" in a gallery shortcode.

Shortcode attributes are strings; fix a variable type error in wp.media.gallery defaults.

Merges [23247] to the 3.5 branch.

props adamsilverstein.
fixes #22919.

File:
1 edited

Legend:

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

    r23114 r23248  
    168168                icontag:    'dt', 
    169169                captiontag: 'dd', 
    170                 columns:    3, 
     170                columns:    '3', 
    171171                size:       'thumbnail', 
    172172                orderby:    'menu_order ID' 
Note: See TracChangeset for help on using the changeset viewer.