You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use underscore.php with a Wordpress installation and unfortunately Wordpress uses the __() function call as part of it's translation/localisation functions. Is there a simple and tested way to move underscore into a non-conflicting namespace?
The text was updated successfully, but these errors were encountered:
If so, it doesn't quite solve the problem because the conflict occures right after I include the file 'underscore.php. Wordpress already has __ function, so I get an error:
Cannot redeclare __() (previously declared in /wp-includes/l10n.php:172)
I'm trying to use underscore.php with a Wordpress installation and unfortunately Wordpress uses the __() function call as part of it's translation/localisation functions. Is there a simple and tested way to move underscore into a non-conflicting namespace?
The text was updated successfully, but these errors were encountered: