Support » Plugin: Better Internal Link Search » Not working since WP 3.9 upgrade

Viewing 10 replies - 1 through 10 (of 10 total)
  • This plugin is wonderful, but I’m sorry it’s broken. It has stopped working as said before.

    I am SO sorry this plugin stopped working. With more than 5000 posts on my site it was so incredible helpful.
    I hope the developers will fix this. I really hope so – because it is a wonderful plugin.

    Plugin Author Brady Vercher


    Hey guys, I’ve been out of town, so I’m just now getting a chance to look into this. As far as I can tell, the only thing not working is that selected text is no longer searched automatically?

    WordPress 3.9 changed the way that modal window operates and doesn’t provide a way to know when it’s visible like it did in previous versions. In all likelihood, this will require a change to core in order to fix. I’ll open a ticket when I have a chance.


    Hi Brady, nice to know you’re still on the job. Yes, it’s just not detecting selected text. Will be good to have it working again. Thank you.

    Hi Brady, any progress on this yet?


    Plugin Author Brady Vercher


    Hey Tony, I submitted a patch to core that needs to be implemented first, so hopefully that’ll be included in WP 3.9.2. You can follow that ticket here.

    – Brady

    If that patch were to be added to the core (and let’s hope that it is), what would need to be added/changed in your plugin code in order to make it work with the new event?

    Plugin Author Brady Vercher


    I haven’t tested this, but if that patch gets committed, then replacing this line with the following code should do it:

    $('#wp-link-wrap').on('open', function() {


    Thank you, I’ll give that a try. In the meantime you might want to check out this plugin:

    It does something similar to yours, except that they are deregistering wplink.js and replacing it with their own modified version. I realize it is a radical solution to replace an entire core file just to fix one line, but if they aren’t going to put your patch into the core it might be the only solution. I really need to get this working so I may end up doing it myself.

    Plugin Author Brady Vercher


    I’m not really wanting to take it that far for this particular feature, but if you’re intent on making that change I mentioned, you could proxy the jQuery show method to force the event to be triggered (instead of waiting for the patch in core). Just drop this in at the top or bottom of internal-link-manager.js.

    (function( $, jQueryShow ){
    	$ = function(){
    		if ( 'wp-link-wrap' === this.attr( 'id' ) ) {
    			this.trigger( 'open' );
    		return jQueryShow.apply( this, arguments );
    })( jQuery, );
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Not working since WP 3.9 upgrade’ is closed to new replies.