• The current version of Twitter tools incorrectly links hash codes that contain international characters (üéøê, for example).

    For example, if a tweet contains “#köln”, the following will be saved by twitter tools:

    #<a href="http://search.twitter.com/search?q=%23k" class="aktt_hashtag">k</a>öln

    which is obviously incorrect.

    This is happening because the current hash code regex is:

    define('AKTT_REGEX', '/\ #([a-zA-Z0-9_]{1,15})/');

    By changing it to the following:

    define('AKTT_REGEX', '/\ #([\w]{1,15})/u');

    it would pick up on other word characters.

    Cheers,
    Edward

The topic ‘[Plugin: Twitter Tools] incorrectly linked international hash codes’ is closed to new replies.