WordPress.org

Make WordPress Core

Changeset 23247


Ignore:
Timestamp:
01/03/13 06:09:09 (16 months ago)
Author:
koopersmith
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.
props adamsilverstein.

see #22919.

File:
1 edited

Legend:

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

    r23114 r23247  
    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.