Viewing 10 replies - 1 through 10 (of 10 total)
  • Pi Zi

    (@freelancephp)

    Could you provide more info, like url and which link?

    Thread Starter dries863

    (@dries863)

    This is the current html:
    <a href="https://www.example.com/example/?utm_source=KB+Bottom&utm_medium=Cta+bottom+kb&utm_campaign=ads" class="button orange big fcenter" data-wpel-ignored="true"> More info & rates ? </a>

    The new version removed: “More info & rates ? “

    I tested it on a local dev server, so I can’t give you a live link.

    Pi Zi

    (@freelancephp)

    The same link works fine on my installation, so I don’t know how to replicate your issue.

    Btw, data-wpel-ignored="true" in v2 is data-wpel-link="ignore".

    Thread Starter dries863

    (@dries863)

    The link I gave you is from v1. The url is “hardcoded” in the template. Perhaps that helps?

    Is there an “easy” way to debug it myself?

    Pi Zi

    (@freelancephp)

    I can only help you if I can see the problem myself. Else it’s just taking wild guesses.

    Thread Starter dries863

    (@dries863)

    I now see that the plugin is returning a warning:

    [Mon Jun 06 17:23:46 2016] [error] [client 192.168.178.25] PHP Warning: FWP_DOM_Element_1x0x0::setContent(): unterminated entity reference Preise \xc2\xbb in /var/www/wordpress/wp-content/plugins/wp-external-links/libs/fwp/class-fwp-dom-element.php on line 60

    I” try to dig deeper into this.

    Thread Starter dries863

    (@dries863)

    Now I know what is happening. It seems like that your plugin crashes when there is a “&” in the anchor text.

    Can you test if this also happens in your environment?

    Pi Zi

    (@freelancephp)

    PHP’s [DOMElement](https://php.net/manual/en/class.domelement.php) is rasing the warning when using &.

    Released antoher patch to fix this, see v2.0.4.

    Thread Starter dries863

    (@dries863)

    Thanks for fixing it!

    Thread Starter dries863

    (@dries863)

    V2 also ads external icons to the admin bar. Can you please remove them?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘V2 removes some anchor texts’ is closed to new replies.