Make WordPress Core

Changeset 24289


Ignore:
Timestamp:
05/17/2013 11:06:34 PM (11 years ago)
Author:
azaozz
Message:

Post formats: when uploading an image or selecting it from the media modal, don't wrap it in a link, props kovshenin, fixes #24289

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/js/post-formats.js

    r24264 r24289  
    3636            size : 'full',
    3737            align : false,
    38             link : getUserSetting( 'urlbutton' )
     38            link : 'none'
    3939        }, attachment.attributes );
    4040
     
    319319                        size: 'full',
    320320                        align : false,
    321                         link : getUserSetting( 'urlbutton' )
     321                        link : 'none'
    322322                    }, attachment);
    323323
Note: See TracChangeset for help on using the changeset viewer.