[wp-hackers] Howdy Don't plugin (was Decision time in re: admin rework)

Rob r at robm.me.uk
Wed Dec 26 16:40:01 GMT 2007


On Dec 26, 2007 4:29 PM, Stephen Rider <wp-hackers at striderweb.com> wrote:
> Correct.  But the exact same test in l10n.php returns true, as
> evidenced by the fact that the text gets translated.  How does if
> ( isset( $l10n[$domain] ) ) return true one moment and moments later
> return false?
>
> Stephen
>

When it's not in scope? Try changing your

global $l10n;

to

global $l10n, $domain;

-- 
Rob Miller
http://robm.me.uk/


More information about the wp-hackers mailing list