• Hi.
    I had a problem with replace_once spacing. the link was stealing 2 extra word if i check replace once option. I looked i solved with some changes in code:

    linkify-text/linkify-text.php:364
    It was like this:

    . mb_substr( $text, $pos[0] + $pos[1]-1 );

    And this was stealing 2 word from my next word after the link.
    I changed it like this:

    . mb_substr( $text, $pos[0] + $pos[1]-3 );

    I works well now. I hope you change that soon!

  • The topic ‘replace_once space error’ is closed to new replies.