~canonical-sysadmins/wordpress/4.7.1

« back to all changes in this revision

Viewing changes to wp-includes/js/tinymce/plugins/wplink/plugin.js

  • Committer: Barry Price
  • Date: 2016-06-22 02:23:41 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: barry.price@canonical.com-20160622022341-9qrp2nesacwfx017
Merge WP4.5.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
488
488
                                edit = $linkNode.attr( 'data-wplink-edit' );
489
489
 
490
490
                                if ( href === '_wp_link_placeholder' || edit ) {
491
 
                                        if ( edit && ! inputInstance.getURL() ) {
 
491
                                        if ( href !== '_wp_link_placeholder' && ! inputInstance.getURL() ) {
492
492
                                                inputInstance.setURL( href );
493
493
                                        }
494
494