• I searched for this and found only one other user reporting it in the forums.

    There seems to be a number of discussions about the failures of the new inline link tool in 4.5.

    In the Link Options area, the code: _wp_link_placeholder appears in the link area when adding a new link, on all of my sites (all using Genesis w/child themes). I’m wondering if this is a wider problem than just a plugin or theme conflict.

    This placeholder text requires the user to highlight or double click to highlight, and hit delete before a new URL can be entered.

    I’m able to make the link tool work, but it’s added many new clicks/mouse actions, so is a usability fail in my opinion.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Im not sure where and when you see this?
    _wp_link_placeholder

    can you screen shot to picpaste?

    This is happening on several of my sites as well… working on a fix now.. This is actually the 2nd tinymce-related bug I’ve found so far that should have blocked the release of 4.5.

    Bug seems to be from wp-includes/js/tinymce/plugins/wplink/plugin.js or wp-includes/js/wplink.js

    :0 Turned out to be 5% user-error, 90% lack of UX/scope, and 5% lack of real-world QC IMO.

    Thread Starter AUMW-Jay

    (@aumw-jay)

    Hi askapache. Thanks for chiming in and the link to the core issue ticket. So, this is a conflict with tinymce? I’m not sure if the answer is to wait for 4.5.2 and hope the fixes get added, or if there is another workaround?

    webdesignerchristian: there’s a screen cap in the core ticket that askapache shared.

    Thread Starter AUMW-Jay

    (@aumw-jay)

    I found a way to reproduce (and fix the issue) – I use the Rel Nofollow Checkbox plugin on all my sites. Toggling this plugin on/off makes the issue appear or not.

    I’m guessing there are other plugins which also trigger the same failure issue.

    Interesting. I have the same problem and I tought it was normal but as Jay says is complicated and demand more clicks.
    I’m also using the Rel Nofollow plugin.

    I’ll be following this thread …

    Here’s a simple fix for at least preventing these links from showing up publically.. haven’t found a fix for the editors yet.

    /*
     * Never allow link placeholders to show up
     */
    function askapache_filter_link_placeholder( $content ) {
    	if ( isset( $content[10] ) && strpos( $content, '_wp_link_placeholder' ) !== false ) {
    		// remove links to /_wp_link_placeholder by replacing them with WP_SITEURL
    		return preg_replace( '#_wp_link_placeholder#', WP_SITEURL, $content );
    	}
    	return $content;
    }
    add_filter( 'the_content', 'askapache_filter_link_placeholder' );
    add_filter( 'the_content_feed', 'askapache_filter_link_placeholder' );
    add_filter( 'get_the_content', 'askapache_filter_link_placeholder' );
    add_filter( 'the_excerpt', 'askapache_filter_link_placeholder' );
    add_filter( 'content_save_pre', 'askapache_filter_link_placeholder' );
    add_filter( 'excerpt_save_pre', 'askapache_filter_link_placeholder' );

    And then in robots.txt

    Disallow: /_wp_link_placeholder

    Google Search Console gave me 3000 new errors today for these placeholder links. Thank you for the fix on how to remove them, and the robots.txt blocker. I appreciate you posting AUMW-Jay.

    I am NOT using a rel/nofollow plugin, but a dozen or so others that could be culprits. sigh.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘_wp_link_placeholder in the Link Tool Options’ is closed to new replies.