pyrocms/pyrocms — pull request #3083 by getu-lar (2013-11-07 13:31:22+00:00)
Title: passing the Lex context variables through the callback

Fixes issue #3082 by routing the Lex context variables through to the plugin parameter replacement function.

The additional $data parameter in the call_user_func_array call should not affect any existing callback since to the best of my knowledge (and testing), any superfluous arguments sent to the receiving function will be ignored.