Make WordPress Core

Ticket #24289: 24289.2.diff

File 24289.2.diff, 691 bytes (added by kovshenin, 12 years ago)
  • wp-admin/js/post-formats.js

     
    3535                var $holder, $field, html = wp.media.string.image({
    3636                        size : 'full',
    3737                        align : false,
    38                         link : getUserSetting( 'urlbutton' )
     38                        link : 'none'
    3939                }, attachment.attributes );
    4040
    4141                $holder = $('.wp-format-media-holder[data-format=image]');
     
    318318                                        html = wp.media.string.image({
    319319                                                size: 'full',
    320320                                                align : false,
    321                                                 link : getUserSetting( 'urlbutton' )
     321                                                link : 'none'
    322322                                        }, attachment);
    323323
    324324                                        // set the hidden input's value