[wp-hackers] Re: no-code-duplication i18n for WordPress

Lionel Elie Mamane lionel at mamane.lu
Fri Mar 7 10:02:18 GMT 2008


On Fri, Mar 07, 2008 at 10:52:51AM +0100, Lionel Elie Mamane wrote:
> On Fri, Mar 07, 2008 at 10:18:35AM +0200, Nikolay Bachiyski wrote:

>> Letting translators translate arbitrary PHP code can and will be
>> disastrous.

> My code, as currently written, does not let them translate arbitrary
> PHP code;

However, I think it lets them introduce nearly arbitrary code, if the
to-be-translated string is in double quotes.

This is not immediately obvious to fix, but no worse than the current
situation, where they can completely fork the code and make anything
with it.

-- 
Lionel


More information about the wp-hackers mailing list