Recent Topics

Autolinks Plugin - Possible bug.

Started by on Aug 30, 2010 – Contents updated: Aug 30, 2010

Aug 30, 2010 00:18    

If this feedback is not in the right place I apologise and welcome guidance.

I have found that if there is a word in the text that is in the array of words to check for but is not preceeded by qualifying word, but the next word is also in the array list and is correctly proceeded by its qualifier, the result is not highlighted. (v3.3.2)

I believe the function;

function replace_callback( $matches ) 


needs to set

 $this->previous_word = $word;

and

$this->previous_lword = $lword;

when the condition

// We do not have the required previous word

is true.

e.g.

network;area;;some_WAN_url
file;network;;some_filestorage_url

my small network file

should produce a link for "network file" but it does not as the code says "small" from the previous process is not a match

Could improvements to this plugin be considered?

Oct 18, 2010 02:52

Ok, this is fixed in version 4.0.1 :)


Form is loading...

b2evo – This forum is powered by b2evolution CMS, a complete engine for your website.